Class: Mutant::Reporter::CLI

Inherits:
Mutant::Reporter show all
Defined in:
lib/mutant/reporter/cli.rb,
lib/mutant/reporter/cli/printer.rb,
lib/mutant/reporter/cli/printer/config.rb,
lib/mutant/reporter/cli/printer/killer.rb,
lib/mutant/reporter/cli/printer/subject.rb,
lib/mutant/reporter/cli/printer/mutation.rb

Overview

Reporter that reports in human readable format

Defined Under Namespace

Classes: Printer

Constant Summary collapse

NL =
"\n".freeze

Instance Method Summary collapse

Instance Method Details

#report(object) ⇒ self

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.

Report object

Parameters:

  • object (Object)

Returns:

  • (self)


19
20
21
22
# File 'lib/mutant/reporter/cli.rb', line 19

def report(object)
  Printer.visit(object, output)
  self
end