module AdHocTemplate::RecordReader::TSVReader

Constants

COL_SEP

Public Class Methods

dump(config_data, col_sep=COL_SEP[:tsv]) click to toggle source
# File lib/ad_hoc_template/record_reader.rb, line 174
def self.dump(config_data, col_sep=COL_SEP[:tsv])
  CSVReader.dump(config_data, col_sep)
end
read_record(tsv_data, config={ tsv: nil }) click to toggle source
# File lib/ad_hoc_template/record_reader.rb, line 169
def self.read_record(tsv_data, config={ tsv: nil })
  config = { tsv: config } if config.kind_of? String
  CSVReader.read_record(tsv_data, config)
end