Sha256: 6b02ec6be9f2f81702d20bc1b151abb8a76ff707f11c39fc8a93e434d2319036
Contents?: true
Size: 437 Bytes
Versions: 3
Compression:
Stored size: 437 Bytes
Contents
require 'csv' require 'report/csv/table' class Report class Csv attr_reader :report def initialize(report) @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 end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
report-0.1.1 | lib/report/csv.rb |
report-0.1.0 | lib/report/csv.rb |
report-0.0.3 | lib/report/csv.rb |