class Loggem::Formatters::HumanReadable

Public Instance Methods

call(data) click to toggle source
# File lib/loggem/formatters/human_readable.rb, line 5
def call(data)
  data.reduce("") { |memo, (key, value)| memo += "\n\t#{key}: #{value}" }
end