Class: SportDb::Import::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#clubs_dirObject

todo/check: find a better way to configure club / team datasets - why? why not?



15
16
17
# File 'lib/sportdb/config/config.rb', line 15

def clubs_dir
  @clubs_dir
end

#leagues_dirObject

def clubs_dir() @clubs_dir; end ### note: return nil if NOT set on purpose for now - why? why not?



18
19
20
# File 'lib/sportdb/config/config.rb', line 18

def leagues_dir
  @leagues_dir
end

Instance Method Details

#catalogObject

def leagues_dir() @leagues_dir; end



21
# File 'lib/sportdb/config/config.rb', line 21

def catalog()      @catalog ||= Catalog.new;  end