method

pretty_print_inspect

v1_8_7_72 - Show latest stable - Class: PP::ObjectMixin
pretty_print_inspect()
public

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.