Class: Mutant::Reporter::CLI::Printer::Killer

Inherits:
Mutant::Reporter::CLI::Printer show all
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

REGISTRY

Instance Method Summary collapse

Methods inherited from Mutant::Reporter::CLI::Printer

build, finalize, handle, run, visit

Instance Method Details

#runundefined

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

Returns:

  • (undefined)


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