Class: ShowReport
- Inherits:
-
Object
- Object
- ShowReport
- Defined in:
- lib/teuton/case_manager/show_report.rb
Overview
| Verbosity level | Description |
|---|---|
| 0 | No output |
| 1 | Default output messages |
| 2 | Show hall of fame |
| 3 | Show final values |
| 4 | Show Initial values |
Instance Method Summary collapse
- #call(verbose) ⇒ Object
-
#initialize(report) ⇒ ShowReport
constructor
A new instance of ShowReport.
Constructor Details
#initialize(report) ⇒ ShowReport
Returns a new instance of ShowReport.
14 15 16 |
# File 'lib/teuton/case_manager/show_report.rb', line 14 def initialize(report) @report = report end |
Instance Method Details
#call(verbose) ⇒ Object
18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/teuton/case_manager/show_report.rb', line 18 def call(verbose) return if Project.quiet? show_initial_configurations if verbose > 2 if filename.to_s.include? "resume" show_resume else show_targets_history end show_final_values if verbose > 1 show_hall_of_fame if verbose > 0 end |