Module: Sports

Defined in:
lib/sportdb/search.rb,
lib/sportdb/search/structs.rb,
lib/sportdb/search/structs_world.rb

Defined Under Namespace

Classes: City, Club, Country, Ground, League, NationalTeam

Class Method Summary collapse

Class Method Details

.configObject



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

def self.config()  SportDb::Import.config; end

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

note: just forward to SportDb::Import configuration!!!!!

keep Sports module / namespace "clean" - why? why not?
  that is, only include data structures (e.g. Match,League,etc) for now - why? why not?

Yields:



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

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