Class: Mutant::Reporter::CLI::Printer::Env Private
- Inherits:
-
Mutant::Reporter::CLI::Printer
- Object
- Mutant::Reporter::CLI::Printer
- Mutant::Reporter::CLI::Printer::Env
- Defined in:
- lib/mutant/reporter/cli/printer/env.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Env printer
Constant Summary collapse
- FORMATS =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
[ [:info, 'Subjects: %s', :amount_subjects ], [:info, 'All-Tests: %s', :amount_all_tests ], [:info, 'Available-Tests: %s', :amount_available_tests], [:info, 'Selected-Tests: %s', :amount_selected_tests ], [:info, 'Tests/Subject: %0.2f avg', :test_subject_ratio ], [:info, 'Mutations: %s', :amount_mutations ] ].each(&:freeze)
Constants inherited from Mutant::Reporter::CLI::Printer
Instance Method Summary collapse
-
#run ⇒ undefined
private
Run printer.
Methods inherited from Mutant::Reporter::CLI::Printer
Methods included from Procto
Instance Method Details
#run ⇒ undefined
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
31 32 33 34 35 36 37 |
# File 'lib/mutant/reporter/cli/printer/env.rb', line 31 def run info('Mutant environment:') visit(Config, config) FORMATS.each do |report, format, value| __send__(report, format, __send__(value)) end end |