Module: Sports

Defined in:
lib/sportdb/structs.rb,
lib/sportdb/structs.rb,
lib/sportdb/structs/structs/goal.rb,
lib/sportdb/structs/structs/team.rb,
lib/sportdb/structs/structs/group.rb,
lib/sportdb/structs/structs/match.rb,
lib/sportdb/structs/structs/round.rb,
lib/sportdb/structs/structs/league.rb,
lib/sportdb/structs/structs/country.rb,
lib/sportdb/structs/structs/matchlist.rb,
lib/sportdb/structs/structs/standings.rb,
lib/sportdb/structs/structs/team_usage.rb

Overview

add convenience shortcut helpers

Defined Under Namespace

Classes: Club, Country, Goal, GoalEvent, Group, League, Match, Matchlist, NationalTeam, Round, Standings, Team, TeamUsage

Class Method Summary collapse

Class Method Details

.configObject



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

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

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

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

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

Yields:



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

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