module TableData

Tables Read tabular data from various formats.

Constants

Version

Public Instance Methods

require_library(name, message) click to toggle source
# File lib/tabledata.rb, line 23
def require_library(name, message)
  $stdout, oldstdout = StringIO.new, $stdout
  require name
rescue LoadError => error
  if error.message =~ /cannot load such file -- #{Regexp.escape(name)}/ then
    raise LibraryMissingError.new(name, message, error)
  else
    raise
  end
ensure
  $stdout = oldstdout
end
table_from_file(path, options=nil) click to toggle source

@see TableData::Table::from_file Full documentation

# File lib/tabledata.rb, line 12
def table_from_file(path, options=nil)
  Table.from_file(path, options)
end
tables_from_file(path) click to toggle source

NOT IMPLEMENTED!

@return [TableData::Tables]

# File lib/tabledata.rb, line 19
def tables_from_file(path)
  raise "Unimplemented"
end