Class: Mutant::Reporter::CLI::Format::Progressive
- Inherits:
-
Mutant::Reporter::CLI::Format
- Object
- Mutant::Reporter::CLI::Format
- Mutant::Reporter::CLI::Format::Progressive
- Defined in:
- lib/mutant/reporter/cli/format.rb
Overview
Format for progressive non rewindable output
Instance Method Summary collapse
-
#progress(collector) ⇒ String
private
Return progress representation.
-
#start(env) ⇒ String
private
Return start representation.
Methods inherited from Mutant::Reporter::CLI::Format
Instance Method Details
#progress(collector) ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return progress representation
98 99 100 101 102 |
# File 'lib/mutant/reporter/cli/format.rb', line 98 def progress(collector) last_mutation_result = collector.last_mutation_result return EMPTY_STRING unless last_mutation_result format(Printer::MutationProgressResult, last_mutation_result) end |
#start(env) ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return start representation
88 89 90 |
# File 'lib/mutant/reporter/cli/format.rb', line 88 def start(env) format(Printer::Config, env.config) end |