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

calls private method on Kernel #160

Open dobrien501 opened 10 years ago

dobrien501 commented 10 years ago

Hello. We had an example in our codebase where awesome print called private method Kernel#test instead of the public method on our object.

https://github.com/michaeldv/awesome_print/blob/master/lib/awesome_print/ext/active_record.rb#L47

Shouldnt public_send be called instead of send here?