Module: PP::ObjectMixin

Defined in:
lib/hobo_support/fixes/pp.rb

Instance Method Summary collapse

Instance Method Details

#orig_pretty_printObject



5
# File 'lib/hobo_support/fixes/pp.rb', line 5

alias_method :orig_pretty_print, :pretty_print

#pretty_print(q) ⇒ Object



6
7
8
9
10
# File 'lib/hobo_support/fixes/pp.rb', line 6

def pretty_print(q)
  orig_pretty_print(q)
rescue
  "[#PP-ERROR#]"
end