Class: ShowResumeReport
- Inherits:
-
Object
- Object
- ShowResumeReport
- Defined in:
- lib/teuton/case_manager/show_resume_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 |
Constant Summary collapse
- MIN_HALL_OF_FAME =
3
Instance Method Summary collapse
- #call(verbose) ⇒ Object
-
#initialize(report) ⇒ ShowResumeReport
constructor
A new instance of ShowResumeReport.
Constructor Details
#initialize(report) ⇒ ShowResumeReport
Returns a new instance of ShowResumeReport.
15 16 17 |
# File 'lib/teuton/case_manager/show_resume_report.rb', line 15 def initialize(report) @report = report end |
Instance Method Details
#call(verbose) ⇒ Object
19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/teuton/case_manager/show_resume_report.rb', line 19 def call(verbose) return if Project.quiet? show_initial_configurations if verbose > 2 if @report.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 |