Added pryrc and awesome_print configuration, updated README

This commit is contained in:
yan
2011-12-06 00:40:44 -08:00
parent 0d42f4dd9d
commit 3697ebd799
3 changed files with 193 additions and 3 deletions

24
irb/aprc Normal file
View File

@@ -0,0 +1,24 @@
AwesomePrint.defaults = {
:indent => 2,
:sort_keys => true,
:color => {
:args => :greenish,
:array => :pale,
:bigdecimal => :blue,
:class => :yellow,
:date => :greenish,
:falseclass => :red,
:fixnum => :blue,
:float => :blue,
:hash => :pale,
:keyword => :cyan,
:method => :purpleish,
:nilclass => :red,
:string => :yellowish,
:struct => :pale,
:symbol => :cyanish,
:time => :greenish,
:trueclass => :green,
:variable => :cyanish
}
}