Class: Mutant::Reporter::CLI::Printer::Mutation
- Inherits:
-
Mutant::Reporter::CLI::Printer
- Object
- Mutant::Reporter::CLI::Printer
- Mutant::Reporter::CLI::Printer::Mutation
- Defined in:
- lib/mutant/reporter/cli/printer/mutation.rb
Overview
Mutation printer
Defined Under Namespace
Constant Summary
Constants inherited from Mutant::Reporter::CLI::Printer
Class Method Summary collapse
-
.build(runner, output) ⇒ Printer::Mutation
private
Build printer.
Instance Method Summary collapse
-
#run ⇒ undefined
private
Run mutation printer.
Methods inherited from Mutant::Reporter::CLI::Printer
Class Method Details
.build(runner, output) ⇒ Printer::Mutation
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.
Build printer
21 22 23 24 |
# File 'lib/mutant/reporter/cli/printer/mutation.rb', line 21 def self.build(runner, output) mutation = runner.mutation lookup(mutation.class).new(runner, output) end |
Instance Method Details
#run ⇒ undefined
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.
Run mutation printer
32 33 34 35 |
# File 'lib/mutant/reporter/cli/printer/mutation.rb', line 32 def run status('%s', mutation.identification) puts(details) end |