Class: CsvReportExpander
- Inherits:
-
Object
- Object
- CsvReportExpander
- Defined in:
- backend/app/lib/reports/csv_report_expander.rb
Instance Method Summary collapse
-
#expand_csv ⇒ Object
-
#initialize(data, job) ⇒ CsvReportExpander
constructor
A new instance of CsvReportExpander.
Constructor Details
#initialize(data, job) ⇒ CsvReportExpander
Returns a new instance of CsvReportExpander.
3 4 5 6 |
# File 'backend/app/lib/reports/csv_report_expander.rb', line 3 def initialize(data, job) @data = data @job = job end |
Instance Method Details
#expand_csv ⇒ Object
8 9 10 11 |
# File 'backend/app/lib/reports/csv_report_expander.rb', line 8 def fix_json_columns(0, @data[0].size) @data end |