awesome-print / awesome_print

Pretty print your Ruby objects with style -- in full color and with proper indentation
http://github.com/michaeldv/awesome_print
MIT License
4.08k stars 454 forks source link

Add OpenStruct Mixin #145

Closed marshallshen closed 9 years ago

marshallshen commented 10 years ago

This PR takes the feedback from PR 36 Since the PR was long-standing, I took the liberty of rewriting it as a mixin.

My team uses awesome_print and open struct pretty heavily so hopefully this feature is supported soon!

Let me know if there's anything to improve!

Thanks.

bootstraponline commented 10 years ago

:+1: OpenStruct support would be helpful.

imajes commented 9 years ago

Merged. Thanks!