Exception: Exception

Defined in:
lib/colorful_inspect.rb

Instance Method Summary collapse

Instance Method Details

#colorless_pretty_printObject



256
# File 'lib/colorful_inspect.rb', line 256

alias colorless_pretty_print pretty_print

#pretty_print(q) ⇒ Object



258
259
260
261
262
# File 'lib/colorful_inspect.rb', line 258

def pretty_print(q)
  q.pp self.class
  q.text ": "
  q.text ColorfulInspect.colorize(q, :exception, message)
end