Flowdock

Notes posted by hellosys

RSS feed
January 28, 2015 - (v1_8_6_287 - v1_9_3_392)
1 thank

Feature

A default pretty printing method for general objects. It calls pretty_print_instance_variables to list instance variables.

If self has a customized (redefined) inspect method, the result of self.inspect is used but it obviously has no line break hints.

This module provides predefined pretty_print methods for some of the most commonly used built-in classes for convenience.