lib/sportdb.rb in sportdb-1.8.8 vs lib/sportdb.rb in sportdb-1.8.9
- old
+ new
@@ -116,13 +116,18 @@
end
def self.config_path
"#{root}/config"
end
-
+
def self.data_path
"#{root}/data"
end
+
+ def self.test_data_path
+ "#{root}/test/data"
+ end
+
def self.lang
# todo/fix: find a better way for single instance ??
# will get us ruby warning: instance variable @lang not initialized => find a better way!!!
# just use @lang w/o .nil? e.g.
\ No newline at end of file