module TSV

Constants

VERSION

Public Instance Methods

[](filename, opts = {}, &block)
Alias for: parse_file
parse(content, opts = {}, &block) click to toggle source
# File lib/tsv.rb, line 10
def parse(content, opts = {}, &block)
  TSV::Table.new(content, opts, &block)
end
parse_file(filename, opts = {}, &block) click to toggle source
# File lib/tsv.rb, line 14
def parse_file(filename, opts = {}, &block)
  TSV::Table.new(File.new(filename, 'r'), opts, &block)
end
Also aliased as: []