Method: Jinx::CsvIO#write

Defined in:
lib/jinx/csv/csvio.rb

#write(row) ⇒ Object Also known as: <<

Writes the given row to the CSV file.

Parameters:

  • row ({Symbol => Object})

    the input row



157
158
159
160
# File 'lib/jinx/csv/csvio.rb', line 157

def write(row)
  @csv << row
  @csv.flush
end