lib/sportdb.rb in sportdb-0.9.3 vs lib/sportdb.rb in sportdb-0.9.4
- old
+ new
@@ -54,9 +54,15 @@
end
def self.root
"#{File.expand_path( File.dirname(File.dirname(__FILE__)) )}"
end
+
+ # builtin path to fixture data
+ def self.data_path
+ "#{root}/data"
+ end
+
def self.main
Runner.new.run(ARGV)
end
\ No newline at end of file