Class: Autoperf::Display::CSV
- Inherits:
-
Object
- Object
- Autoperf::Display::CSV
- Defined in:
- lib/autoperf/display/csv.rb
Instance Method Summary collapse
-
#initialize(results, report = nil) ⇒ CSV
constructor
A new instance of CSV.
- #print ⇒ Object
- #to_csv ⇒ Object
- #to_s ⇒ Object
Constructor Details
Instance Method Details
#print ⇒ Object
16 17 18 |
# File 'lib/autoperf/display/csv.rb', line 16 def print puts to_s end |
#to_csv ⇒ Object
12 13 14 |
# File 'lib/autoperf/display/csv.rb', line 12 def to_csv to_s end |
#to_s ⇒ Object
8 9 10 |
# File 'lib/autoperf/display/csv.rb', line 8 def to_s @table.to_csv end |