Class: CompactCSV

Inherits:
CSV
  • Object
show all
Defined in:
lib/compact_csv.rb

Defined Under Namespace

Classes: CompatibilityError, Row, Table

Instance Method Summary collapse

Instance Method Details

#readObject



134
135
136
137
138
139
140
141
# File 'lib/compact_csv.rb', line 134

def read
  rows = to_a
  if @use_headers
    CompactCSV::Table.new(rows)
  else
    rows
  end
end