class BioTable::TableWriter::Writer
Public Class Methods
new(format=:tab, evaluate=nil)
click to toggle source
# File lib/bio-table/tablewriter.rb, line 6 def initialize format=:tab, evaluate=nil @formatter = FormatFactory::create(format,evaluate) end
Public Instance Methods
write(row,type)
click to toggle source
# File lib/bio-table/tablewriter.rb, line 10 def write row,type @formatter.write(row.all_fields) if row.all_valid? end