method

pretty_inspect

v2_5_5 - Show latest stable - Class: Kernel
pretty_inspect()
public

Returns a pretty printed object as a string.

In order to use this method you must first require the PP module:

require 'pp'

See the PP module for more information.