pretty_print_inspect

pretty_print_inspect()
Instance Public methods

Is inspect implementation using pretty_print. If you implement pretty_print, it can be used as follows.

alias inspect pretty_print_inspect

However, doing this requires that every class that inspect is called on implement pretty_print, or a RuntimeError will be raised.

doc_ruby_on_rails
2015-04-28 04:49:24
Comments
Leave a Comment

Please login to continue.