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: Collector, Config, EnvProgress, EnvResult, MutationProgressResult, MutationResult, 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)


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

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)


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

abstract_method :run