Class AwesomePrint::Formatter
In: lib/awesome_print/formatter.rb
Parent: Object

Methods

cast   colorize   format   new  

Constants

CORE = [ :array, :hash, :class, :file, :dir, :bigdecimal, :rational, :struct, :method, :unboundmethod ]
DEFAULT_LIMIT_SIZE = 7

Public Class methods

Public Instance methods

Hook this when adding custom formatters. Check out lib/awesome_print/ext directory for custom formatters that ship with awesome_print.

Pick the color and apply it to the given string as necessary.

Main entry point to format an object.

[Validate]