Module: SportDb::Import

Defined in:
lib/sportdb/search.rb

Defined Under Namespace

Classes: Configuration

Class Method Summary collapse

Class Method Details

.configObject



58
# File 'lib/sportdb/search.rb', line 58

def self.config()  @config ||= Configuration.new;  end

.configure {|config| ... } ⇒ Object

lets you use

SportDb::Import.configure do |config|
   config.catalog_path = './catalog.db'
end

Yields:



57
# File 'lib/sportdb/search.rb', line 57

def self.configure()  yield( config ); end