Class: Lumberjack::Formatter::ObjectFormatter

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

Overview

No-op formatter that just returns the object itself.

Instance Method Summary collapse

Instance Method Details

#call(obj) ⇒ Object



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

def call(obj)
  obj
end