Class: Timely::Formats::Json
- Inherits:
-
Timely::Formatter
- Object
- Timely::Formatter
- Timely::Formats::Json
- Defined in:
- lib/timely/formats/json.rb
Instance Attribute Summary
Attributes inherited from Timely::Formatter
Instance Method Summary collapse
Methods inherited from Timely::Formatter
Constructor Details
This class inherits a constructor from Timely::Formatter
Instance Method Details
#output ⇒ Object
6 7 8 |
# File 'lib/timely/formats/json.rb', line 6 def output JSON.dump report.to_hash end |