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



5
6
7
# File 'lib/lumberjack/formatter/inspect_formatter.rb', line 5

def call(obj)
  obj.inspect
end