pretty_print

pretty_print(q)
Instance Public methods

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.

doc_ruby_on_rails
2015-04-28 04:40:43
Comments
Leave a Comment

Please login to continue.