Sha256: 00105f79edc032629153f712685795efa689ff8eef3aad55a6feb96fb3c81346
Contents?: true
Size: 739 Bytes
Versions: 7
Compression:
Stored size: 739 Bytes
Contents
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__)) require 'table_fu' require 'yaml' autoload :Sinatra, 'sinatra/base' autoload :Thin, 'thin' autoload :ERB, 'erb' autoload :FasterCSV, 'FasterCSV' autoload :Curb, 'curb' autoload :RDiscount, 'rdiscount' module TableSetter # autoload internals autoload :App, 'table_setter/app' autoload :Command, 'table_setter/command' autoload :Table, 'table_setter/table' ROOT = File.expand_path(File.dirname(__FILE__) + "/..") unless defined? ROOT class << self attr_reader :config_path def configure(path) @config_path = File.expand_path(path) end def table_path @config_path + "/tables/" end end end
Version data entries
7 entries across 7 versions & 1 rubygems