module FootballDb::Import
Public Class Methods
build_club_index()
click to toggle source
# File lib/footballdb/clubs.rb, line 14 def self.build_club_index recs = SportDb::Import::Club.read( "#{FootballDb::Clubs.data_dir}/clubs.txt" ) club_index = SportDb::Import::ClubIndex.new club_index.add( recs ) recs = SportDb::Import::WikiReader.read( "#{FootballDb::Clubs.data_dir}/clubs.wiki.txt" ) club_index.add_wiki( recs ) club_index end