Sha256: 558b93086ba582086771e317d0507f2854ada86a9a3098189029f0b623b70dce

Contents?: true

Size: 207 Bytes

Versions: 23

Compression:

Stored size: 207 Bytes

Contents

# frozen_string_literals: true

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

23 entries across 23 versions & 4 rubygems

Version Path
honeybadger-5.3.0 vendor/bundle/ruby/3.2.0/gems/lumberjack-1.2.9/lib/lumberjack/formatter/string_formatter.rb
lumberjack-1.2.9 lib/lumberjack/formatter/string_formatter.rb
op_connect-0.1.2 vendor/bundle/ruby/3.1.0/gems/lumberjack-1.2.8/lib/lumberjack/formatter/string_formatter.rb
qiita_org-0.1.35 gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/formatter/string_formatter.rb
qiita_org-0.1.34 gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/formatter/string_formatter.rb
qiita_org-0.1.33 gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/formatter/string_formatter.rb
qiita_org-0.1.32 gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/formatter/string_formatter.rb
qiita_org-0.1.31 gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/formatter/string_formatter.rb
qiita_org-0.1.30 gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/formatter/string_formatter.rb
qiita_org-0.1.29 gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/formatter/string_formatter.rb
qiita_org-0.1.28 gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/formatter/string_formatter.rb
qiita_org-0.1.27 gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/formatter/string_formatter.rb
qiita_org-0.1.26 gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/formatter/string_formatter.rb
qiita_org-0.1.25 gems/ruby/2.7.0/gems/lumberjack-1.2.8/lib/lumberjack/formatter/string_formatter.rb
lumberjack-1.2.8 lib/lumberjack/formatter/string_formatter.rb
lumberjack-1.2.7 lib/lumberjack/formatter/string_formatter.rb
lumberjack-1.2.6 lib/lumberjack/formatter/string_formatter.rb
lumberjack-1.2.5 lib/lumberjack/formatter/string_formatter.rb
lumberjack-1.2.4 lib/lumberjack/formatter/string_formatter.rb
lumberjack-1.2.3 lib/lumberjack/formatter/string_formatter.rb