Class: SportDb::Test

Inherits:
Object
  • Object
show all
Defined in:
lib/sportdb/structs.rb

Overview

todo/check: works with module too? use a module - why? why not?

Class Method Summary collapse

Class Method Details

.data_dirObject

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?


45
# File 'lib/sportdb/structs.rb', line 45

def self.data_dir()        @data_dir ||= '../test'; end

.data_dir=(path) ⇒ Object



46
# File 'lib/sportdb/structs.rb', line 46

def self.data_dir=( path ) @data_dir = path; end