lib/report/csv.rb in report-0.0.2 vs lib/report/csv.rb in report-0.0.3
- old
+ new
@@ -9,9 +9,12 @@
@report = report
end
def paths
tables.map { |table| table.path }
end
+ def cleanup
+ tables.each { |table| table.cleanup }
+ end
private
def tables
@tables ||= report.class.tables.map do |report_table|
Csv::Table.new self, report_table
end