Method: RequestLogAnalyzer::Aggregator::Summarizer#report
- Defined in:
- lib/request_log_analyzer/aggregator/summarizer.rb
#report(output) ⇒ Object
Call report on all trackers. output
RequestLogAnalyzer::Output object to output to
114 115 116 117 118 119 120 121 122 123 |
# File 'lib/request_log_analyzer/aggregator/summarizer.rb', line 114 def report(output) report_header(output) if source.parsed_requests > 0 @trackers.each { |tracker| tracker.report(output) } else output.puts output.puts('There were no requests analyzed.') end (output) end |