Class: SportDb::Test
- Inherits:
-
Object
- Object
- SportDb::Test
- Defined in:
- lib/sportdb/config.rb
Overview
todo/check: works with module too? use a module - why? why not?
Class Method Summary collapse
-
.data_dir ⇒ Object
todo/fix: find a better way to configure shared test datasets - why? why not?.
- .data_dir=(path) ⇒ Object
Class Method Details
.data_dir ⇒ Object
todo/fix: find a better way to configure shared test datasets - why? why not?
48 |
# File 'lib/sportdb/config.rb', line 48 def self.data_dir() @data_dir ||= './test'; end |
.data_dir=(path) ⇒ Object
49 |
# File 'lib/sportdb/config.rb', line 49 def self.data_dir=( path ) @data_dir = path; end |