Closed Simbul closed 12 years ago
v1.1 no longer displays internal object structure unless you explicitly specify :raw => true. Please see https://github.com/michaeldv/awesome_print/blob/master/CHANGELOG
You can reenable previous behavior by adding :raw => true to AwesomePrint.default_options in ~/.aprc
Michael
Brilliant. Thanks!
I tried printing an
OpenStruct
object withawesome_print
1.0.2 and 1.1: while the former version correctly prints a formatted object, the latter does not. An example:With
awesome_print
1.0.2:With
awesome_print
1.1.0:What's the reason behind dropping support for
OpenStruct
? Is it ever coming back? I might work on a pull request for it, but first I want to make sure I'm not stepping on anyone's feet.