Class: Mutant::Reporter::CLI
- Inherits:
-
Mutant::Reporter
- Object
- Mutant::Reporter
- Mutant::Reporter::CLI
- Defined in:
- lib/mutant/reporter/cli.rb,
lib/mutant/reporter/cli/report.rb,
lib/mutant/reporter/cli/printer.rb,
lib/mutant/reporter/cli/progress.rb,
lib/mutant/reporter/cli/registry.rb,
lib/mutant/reporter/cli/progress/noop.rb,
lib/mutant/reporter/cli/report/config.rb,
lib/mutant/reporter/cli/report/subject.rb,
lib/mutant/reporter/cli/progress/config.rb,
lib/mutant/reporter/cli/report/mutation.rb,
lib/mutant/reporter/cli/progress/subject.rb,
lib/mutant/reporter/cli/progress/mutation.rb
Overview
Reporter that reports in human readable format
Defined Under Namespace
Classes: Printer, Progress, Registry, Report
Constant Summary collapse
- NL =
"\n".freeze
Instance Method Summary collapse
-
#progress(object) ⇒ self
private
Report progress object.
-
#report(object) ⇒ self
private
Report object.
-
#warn(message) ⇒ self
private
Report warning.
Instance Method Details
#progress(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 progress object
17 18 19 20 |
# File 'lib/mutant/reporter/cli.rb', line 17 def progress(object) Progress.run(output, object) self end |
#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
43 44 45 46 |
# File 'lib/mutant/reporter/cli.rb', line 43 def report(object) Report.run(output, object) self end |
#warn(message) ⇒ 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 warning
30 31 32 33 |
# File 'lib/mutant/reporter/cli.rb', line 30 def warn() output.puts() self end |