Class: Timely::Formats::Json

Inherits:
Timely::Formatter show all
Defined in:
lib/timely/formats/json.rb

Instance Attribute Summary

Attributes inherited from Timely::Formatter

#options, #report

Instance Method Summary collapse

Methods inherited from Timely::Formatter

#initialize, #to_s

Constructor Details

This class inherits a constructor from Timely::Formatter

Instance Method Details

#outputObject



6
7
8
# File 'lib/timely/formats/json.rb', line 6

def output
  JSON.dump report.to_hash
end