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

Inherits:
Object
  • Object
show all
Includes:
AbstractType, Adamantium::Flat, Delegator
Defined in:
lib/mutant/reporter/cli/printer.rb

Overview

CLI runner status printer base class

Defined Under Namespace

Classes: Config, EnvProgress, EnvResult, MutationProgressResult, MutationResult, Status, StatusProgressive, SubjectProgress, SubjectResult, TestResult

Constant Summary collapse

NL =
"\n".freeze

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Delegator

included

Class Method Details

.run(output, 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.

Run printer on object to output

Parameters:

  • output (IO)
  • object (Object)

Returns:

  • (self)

21
22
23
# File 'lib/mutant/reporter/cli/printer.rb', line 21

def self.run(output, object)
  new(output, object).run
end

Instance Method Details

#runself

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:

  • (self)

31
# File 'lib/mutant/reporter/cli/printer.rb', line 31

abstract_method :run