Skip to content

Instantly share code, notes, and snippets.

@carolineartz
Created January 10, 2016 02:01
Show Gist options
  • Save carolineartz/b12444e045025ea50efb to your computer and use it in GitHub Desktop.
Save carolineartz/b12444e045025ea50efb to your computer and use it in GitHub Desktop.
.aprc
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
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment