class Lumberjack::Formatter::StripFormatter

Format an object by calling `to_s` on it and stripping leading and trailing whitespace.

Public Instance Methods

call(obj) click to toggle source
# File lib/lumberjack/formatter/strip_formatter.rb, line 7
def call(obj)
  obj.to_s.strip
end