Class: Lumberjack::Formatter::StringFormatter

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

Overview

Format an object by calling ‘to_s` on it.

Instance Method Summary collapse

Instance Method Details

#call(obj) ⇒ Object



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

def call(obj)
  obj.to_s
end