Class: ShowReport

Inherits:
Object
  • Object
show all
Defined in:
lib/teuton/report/show.rb

Instance Method Summary collapse

Constructor Details

#initialize(report) ⇒ ShowReport

Returns a new instance of ShowReport.



5
6
7
# File 'lib/teuton/report/show.rb', line 5

def initialize(report)
  @report = report
end

Instance Method Details

#call(verbose) ⇒ Object



9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/teuton/report/show.rb', line 9

def call(verbose)
  return if Application.instance.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