Module: BioTable::FormatFactory

Defined in:
lib/bio-table/formatter.rb

Class Method Summary collapse

Class Method Details

.create(format) ⇒ Object



21
22
23
24
25
# File 'lib/bio-table/formatter.rb', line 21

def self.create format
  # @logger.info("Formatting to #{format}")
  return CsvFormatter.new if format == :csv
  return TabFormatter.new
end