Class: Mutant::Reporter::CLI::Printer::Killer
- Inherits:
-
Mutant::Reporter::CLI::Printer
- Object
- Mutant::Reporter::CLI::Printer
- Mutant::Reporter::CLI::Printer::Killer
- Defined in:
- lib/mutant/reporter/cli/printer/killer.rb
Overview
Printer for killer results
Constant Summary collapse
- SUCCESS =
'.'.freeze
- FAILURE =
'F'.freeze
Constants inherited from Mutant::Reporter::CLI::Printer
Instance Method Summary collapse
-
#run ⇒ undefined
private
Run printer.
Methods inherited from Mutant::Reporter::CLI::Printer
build, finalize, handle, run, visit
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 printer
22 23 24 25 26 27 28 |
# File 'lib/mutant/reporter/cli/printer/killer.rb', line 22 def run if success? char(SUCCESS, Color::GREEN) else char(FAILURE, Color::RED) end end |