123456789_123456789_123456789_123456789_123456789_

Module: Kernel

Relationships & Source Files
Defined in: lib/pp.rb

Instance Method Summary

Instance Method Details

pretty_inspect

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.

[ GitHub ]

  
# File 'lib/pp.rb', line 13

def pretty_inspect
  PP.pp(self, ''.dup)
end