Class: Loggem::Formatters::HumanReadable
- Inherits:
-
Object
- Object
- Loggem::Formatters::HumanReadable
- Defined in:
- lib/loggem/formatters/human_readable.rb
Instance Method Summary collapse
Instance Method Details
#call(data) ⇒ Object
5 6 7 |
# File 'lib/loggem/formatters/human_readable.rb', line 5 def call(data) data.reduce("") { |memo, (key, value)| memo += "\n\t#{key}: #{value}" } end |