lib/table_setter.rb in table_setter-0.2.2 vs lib/table_setter.rb in table_setter-0.2.3
- old
+ new
@@ -13,21 +13,21 @@
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
\ No newline at end of file