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



45
46
47
48
49
50
# File 'lib/bio-table/formatter.rb', line 45

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