Class: Lumberjack::Formatter::InspectFormatter

Inherits:
Object
  • Object
show all
Defined in:
lib/lumberjack/formatter/inspect_formatter.rb

Overview

Format an object by calling inspect on it.

Instance Method Summary collapse

Instance Method Details

#call(obj) ⇒ Object



7
8
9
# File 'lib/lumberjack/formatter/inspect_formatter.rb', line 7

def call(obj)
  obj.inspect
end