Class: Mutant::Reporter::CLI::Printer
- Inherits:
-
Object
- Object
- Mutant::Reporter::CLI::Printer
- Includes:
- AbstractType, Adamantium::Flat, Delegator
- Defined in:
- lib/mutant/reporter/cli/printer.rb
Overview
CLI runner status printer base class
Constant Summary collapse
- NL =
"\n".freeze
Class Method Summary collapse
-
.run(output, object) ⇒ self
private
Run printer on object to output.
Instance Method Summary collapse
-
#run ⇒ self
private
Run printer.
Methods included from Delegator
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
20 21 22 23 24 |
# File 'lib/mutant/reporter/cli/printer.rb', line 20 def self.run(output, object) handler = lookup(object.class) handler.new(output, object).run self end |
Instance Method Details
#run ⇒ 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
32 |
# File 'lib/mutant/reporter/cli/printer.rb', line 32 abstract_method :run |