Sha256: ca7fc6b035e5d233d9f8ec724ccf31570c94cc67116bbe8aa5589a8dc5e0ba2e
Contents?: true
Size: 342 Bytes
Versions: 3
Compression:
Stored size: 342 Bytes
Contents
require 'csv' module DocParser # The CSVOutput class generates a CSV file containing all rows # @see Output class CSVOutput < Output # @!visibility private def open_file @csv = CSV.new(@file, col_sep: ';') end def header write_row @header end def write_row(row) @csv << row end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
docparser-0.2.3 | lib/docparser/output/csv_output.rb |
docparser-0.2.2 | lib/docparser/output/csv_output.rb |
docparser-0.2.0 | lib/docparser/output/csv_output.rb |