Sha256: dc9624350c5b8acf3ccbb1f50af0d0ed4ed7fd7d971711aa4831718cd1574fbf

Contents?: true

Size: 258 Bytes

Versions: 5

Compression:

Stored size: 258 Bytes

Contents

module WarningSigns
  module MessageFormatter
    class Hash < Base
      def format_message(message, backtrace)
        {
          message: message,
          backtrace: filtered_backtrace_lines(backtrace).map(&:to_s)
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
warning_signs-0.7.2 lib/warning_signs/message_formatter/hash.rb
warning_signs-0.7.1 lib/warning_signs/message_formatter/hash.rb
warning_signs-0.7.0 lib/warning_signs/message_formatter/hash.rb
warning_signs-0.6.1 lib/warning_signs/message_formatter/hash.rb
warning_signs-0.6.0 lib/warning_signs/message_formatter/hash.rb