-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathaprc
More file actions
39 lines (29 loc) · 677 Bytes
/
aprc
File metadata and controls
39 lines (29 loc) · 677 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# vi: ft=ruby :
require 'awesome_print'
AwesomePrint.defaults ||= {}
AwesomePrint.defaults.merge!(
indent: 2
)
AwesomePrint.defaults[:color] ||= {}
AwesomePrint.defaults[:color].merge!(
class: :yellowish,
method: :blueish,
args: :blue,
array: :purple,
hash: :purple,
struct: :purple,
bigdecimal: :cyanish,
fixnum: :cyanish,
float: :cyanish,
rational: :cyanish,
date: :blueish,
time: :blueish,
string: :yellowish,
symbol: :cyanish,
keyword: :cyanish,
variable: :cyanish,
nilclass: :redish,
falseclass: :redish,
trueclass: :greenish
)
# EOF