Class: SportDb::Test
- Inherits:
-
Object
- Object
- SportDb::Test
- Defined in:
- lib/sportdb/formats.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? note: use one-up (..) directory for now as default - 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?
note: use one-up (..) directory for now as default - why? why not?
38 |
# File 'lib/sportdb/formats.rb', line 38 def self.data_dir() @data_dir ||= '../test'; end |
.data_dir=(path) ⇒ Object
39 |
# File 'lib/sportdb/formats.rb', line 39 def self.data_dir=( path ) @data_dir = path; end |