Class: WBench::ResultsFormatter
- Inherits:
-
Object
- Object
- WBench::ResultsFormatter
- Defined in:
- lib/wbench/results_formatter.rb
Instance Method Summary collapse
-
#initialize(results) ⇒ ResultsFormatter
constructor
A new instance of ResultsFormatter.
- #to_s ⇒ Object
Constructor Details
#initialize(results) ⇒ ResultsFormatter
Returns a new instance of ResultsFormatter.
3 4 5 |
# File 'lib/wbench/results_formatter.rb', line 3 def initialize(results) @results = results end |
Instance Method Details
#to_s ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/wbench/results_formatter.rb', line 7 def to_s [ heading_s, spacer_s, app_heading_s, app_server_s, spacer_s, latency_heading_s, latency_s, spacer_s, browser_heading_s, browser_rows_s ].join end |