Class: CoverRage::Reporters::JsonReporter
- Inherits:
-
Object
- Object
- CoverRage::Reporters::JsonReporter
- Defined in:
- lib/cover_rage/reporters/json_reporter.rb
Instance Method Summary collapse
Instance Method Details
#report(records) ⇒ Object
8 9 10 |
# File 'lib/cover_rage/reporters/json_reporter.rb', line 8 def report(records) JSON.dump(records.map(&:to_h)) end |