Open dgdosen opened 8 years ago
Thanks for using AwesomePrint.
For example, I'm defining objects with fast_attributes - and I want to show the detail of the object in an awesome print way, only the print out leaves something to be desired:
If I understood correctly, Using awesome_print
version 1.7.0
and fast_attributes
version 0.7
, you could make use of the option raw: true
. Is that what you were looking for?
I was hoping I could add an t_ap method or something like that to my object's class and awesome_print would be able to work with it.
In the future, we are going to address your concern in a nicely fashion. Stay tuned :)
@waldyr did we get anywhere with this? Can I help?
Is there a way to decorate a plain old ruby object so that aweseome_print is awesome with my object?
For example, I'm defining objects with fast_attributes - and I want to show the detail of the object in an awesome print way, only the print out leaves something to be desired:
I was hoping I could add an t_ap method or something like that to my object's class and awesome_print would be able to work with it.
Any advice?