1
0
Fork 0
mirror of https://github.com/awesome-print/awesome_print synced 2023-03-27 23:22:34 -04:00

Updated README and CHANGELOG

This commit is contained in:
Mike Dvorkin 2011-06-01 22:51:45 -07:00
parent cb4a9ac2b5
commit 2e75a16387
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,7 @@
?.?.?
- Added ability to format *arbitrary* Ruby object
- Added :limit option to limit large output for arrays and hashes (Andrew Horsman)
0.4.0
- 'ap object' now returns the object (Stephan Hagemann)
- Added :html => true option to enable HTML colors rather that ANSI (ex. Sinatra templates)

View file

@ -26,7 +26,7 @@ Default options:
:multiline => true, # Display in multiple lines.
:plain => false, # Use colors.
:sort_keys => false, # Do not sort hash keys.
:limit => false, # Limit large output. Set to a boolean or integer.
:limit => false, # Limit large output for arrays and hashes. Set to a boolean or integer.
:color => {
:array => :white,
:bignum => :blue,
@ -301,6 +301,7 @@ For example:
### Contributors ###
* Andrew O'Brien -- https://github.com/AndrewO
* Andrew Horsman -- https://github.com/basicxman
* Daniel Bretoi -- http://github.com/danielb2
* Eloy Duran -- http://github.com/alloy
* Elpizo Choi -- https://github.com/fuJiin

View file

@ -22,7 +22,7 @@ module AwesomePrint
:multiline => true, # Display in multiple lines.
:plain => false, # Use colors.
:sort_keys => false, # Do not sort hash keys.
:limit => false, # Limit large output. Set to a boolean or integer.
:limit => false, # Limit large output for arrays and hashes. Set to a boolean or integer.
:color => {
:array => :white,
:bigdecimal => :blue,