bdurand/lumberjack

View on GitHub
lib/lumberjack/formatter/string_formatter.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: 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