Class: Rescuetime::Formatters::CSVFormatter
- Inherits:
-
BaseFormatter
- Object
- BaseFormatter
- Rescuetime::Formatters::CSVFormatter
- Defined in:
- lib/rescuetime/formatters/csv_formatter.rb
Overview
Formats a rescuetime report as a CSV object
Class Method Summary collapse
-
.format(report) ⇒ CSV
Returns the rescuetime report in raw form.
-
.name ⇒ String
Returns the name of your formatter.
Methods inherited from BaseFormatter
Class Method Details
.format(report) ⇒ CSV
Returns the rescuetime report in raw form
19 20 21 |
# File 'lib/rescuetime/formatters/csv_formatter.rb', line 19 def self.format(report) report end |
.name ⇒ String
Returns the name of your formatter
11 12 13 |
# File 'lib/rescuetime/formatters/csv_formatter.rb', line 11 def self.name 'csv' end |