Ruby PP::ObjectMixin Functions

EditRocket provides the following information on PP::ObjectMixin functions in the Ruby source code builder.

pretty_print(q) - "A default pretty printing method for general objects. It calls #pretty_print_instance_variables to list instance variables."

pretty_print_cycle(q) - A default pretty printing method for general objects that are detected as part of a cycle.

pretty_print_inspect() - "Is #inspect implementation using #pretty_print. If you implement #pretty_print, it can be used as follows."

pretty_print_instance_variables() - Returns a sorted array of instance variable names.