class Lumberjack::Formatter::PrettyPrintFormatter

Format an object with it’s pretty print method.

def call(obj)

def call(obj)
  s = StringIO.new
  PP.pp(obj, s)
  s.string.chomp
end

def initialize(width = 79)

Parameters:
  • width (Integer) -- The maximum width of the message.
def initialize(width = 79)
  @width = width
end