Class: Class
Instance Method Summary collapse
Instance Method Details
#colorless_pretty_print ⇒ Object
201 |
# File 'lib/colorful_inspect.rb', line 201 alias colorless_pretty_print pretty_print |
#pretty_print(q) ⇒ Object
203 204 205 206 |
# File 'lib/colorful_inspect.rb', line 203 def pretty_print(q) str = "#{inspect}#{" < #{superclass.inspect}" if superclass}" q.text ColorfulInspect.colorize(q, :class, str) end |