Class: SportDb::Import::Catalog

Inherits:
Object
  • Object
show all
Defined in:
lib/footballdb/clubs/auto.rb

Instance Method Summary collapse

Instance Method Details

#build_club_indexObject


14
# File 'lib/footballdb/clubs/auto.rb', line 14

def build_club_index()     FootballDb::Import.build_club_index; end

#build_country_indexObject


13
# File 'lib/footballdb/clubs/auto.rb', line 13

def build_country_index()  CountryIndex.new( Fifa.countries ); end

#clubsObject


17
# File 'lib/footballdb/clubs/auto.rb', line 17

def clubs()     @clubs     ||= build_club_index; end

#countriesObject


16
# File 'lib/footballdb/clubs/auto.rb', line 16

def countries() @countries ||= build_country_index; end