Class: HamlLint::Reporter::JsonReporter
- Inherits:
-
HashReporter
- Object
- HamlLint::Reporter
- HashReporter
- HamlLint::Reporter::JsonReporter
- Defined in:
- lib/haml_lint/reporter/json_reporter.rb
Overview
Outputs report as a JSON document.
Instance Method Summary collapse
Methods inherited from HamlLint::Reporter
descendants, inherited, #initialize
Methods included from Hooks
#added_lint, #finished_file, #start
Constructor Details
This class inherits a constructor from HamlLint::Reporter
Instance Method Details
#display_report(report) ⇒ Object
4 5 6 |
# File 'lib/haml_lint/reporter/json_reporter.rb', line 4 def display_report(report) log.log super.to_json end |