Sha256: f3583033601ff62f06aceaad715d3f2f7df8252eef679d96ab82b4006b7f069b

Contents?: true

Size: 175 Bytes

Versions: 30

Compression:

Stored size: 175 Bytes

Contents

module Lumberjack
  class Formatter
    # Format an object by calling +to_s+ on it.
    class StringFormatter
      def call(obj)
        obj.to_s
      end
    end
  end
end

Version data entries

30 entries across 28 versions & 9 rubygems

Version Path
lumberjack-1.0.5 lib/lumberjack/formatter/string_formatter.rb
lumberjack_aziz_light-1.0.6 lib/lumberjack/formatter/string_formatter.rb
lumberjack_aziz_light-1.0.5 lib/lumberjack/formatter/string_formatter.rb
lumberjack-1.0.4 lib/lumberjack/formatter/string_formatter.rb
sidekiq-statsd-0.1.1 vendor/ruby/1.9.1/gems/lumberjack-1.0.3/lib/lumberjack/formatter/string_formatter.rb
sidekiq-statsd-0.1.0 vendor/ruby/1.9.1/gems/lumberjack-1.0.3/lib/lumberjack/formatter/string_formatter.rb
lumberjack-1.0.3 lib/lumberjack/formatter/string_formatter.rb
lumberjack-1.0.2 lib/lumberjack/formatter/string_formatter.rb
lumberjack-1.0.1 lib/lumberjack/formatter/string_formatter.rb
lumberjack-1.0.0 lib/lumberjack/formatter/string_formatter.rb