Class: MutationTester::Reporters::BatchJsonReporter
- Inherits:
-
Object
- Object
- MutationTester::Reporters::BatchJsonReporter
- Defined in:
- lib/mutation_tester/reporters/batch_json_reporter.rb
Constant Summary collapse
- SCHEMA_VERSION =
1
Instance Method Summary collapse
-
#initialize(result, config, passed:) ⇒ BatchJsonReporter
constructor
A new instance of BatchJsonReporter.
- #render ⇒ Object
Constructor Details
#initialize(result, config, passed:) ⇒ BatchJsonReporter
Returns a new instance of BatchJsonReporter.
6 7 8 9 10 |
# File 'lib/mutation_tester/reporters/batch_json_reporter.rb', line 6 def initialize(result, config, passed:) @result = result @config = config @passed = passed end |
Instance Method Details
#render ⇒ Object
12 13 14 |
# File 'lib/mutation_tester/reporters/batch_json_reporter.rb', line 12 def render JSON.pretty_generate(envelope) end |