Module: Sports

Defined in:
lib/sportdb/search.rb,
lib/sportdb/search/world.rb,
lib/sportdb/search/sport-more.rb,
lib/sportdb/search/sport-clubs.rb,
lib/sportdb/search/sport-teams.rb,
lib/sportdb/search/sport-events.rb,
lib/sportdb/search/sport-history.rb,
lib/sportdb/search/sport-leagues.rb

Defined Under Namespace

Classes: City, Club, Country, EventInfo, Ground, League, LeaguePeriod, NationalTeam, Player, Team

Class Method Summary collapse

Class Method Details

.configObject



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

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:



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

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