Class: BioTable::CsvFormatter

Inherits:
Object
  • Object
show all
Defined in:
lib/bio-table/formatter.rb

Instance Method Summary collapse

Instance Method Details

#write(list) ⇒ Object



12
13
14
15
16
17
# File 'lib/bio-table/formatter.rb', line 12

def write list
  csv_string = CSV.generate do |csv|
    csv << list
  end
  print csv_string
end