Class: Chutney::JSONFormatter
- Defined in:
- lib/chutney/formatter/json_formatter.rb
Overview
Plain old JSON formatter
Instance Attribute Summary
Attributes inherited from Formatter
Instance Method Summary collapse
Methods inherited from Formatter
#files, #files_with_issues, #initialize
Constructor Details
This class inherits a constructor from Chutney::Formatter
Instance Method Details
#format ⇒ Object
6 7 8 |
# File 'lib/chutney/formatter/json_formatter.rb', line 6 def format puts @results.to_json end |