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



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

def call(obj)
  obj.to_s
end