Module: SportDb::Matcher

Includes:
WorldDb::Matcher
Included in:
Reader
Defined in:
lib/sportdb/matcher.rb

Instance Method Summary collapse

Instance Method Details

#match_leagues_for_country(name, &blk) ⇒ Object



9
10
11
# File 'lib/sportdb/matcher.rb', line 9

def match_leagues_for_country( name, &blk )
  match_xxx_for_country( name, 'leagues', &blk )
end

#match_skiers_for_country(name, &blk) ⇒ Object



21
22
23
# File 'lib/sportdb/matcher.rb', line 21

def match_skiers_for_country( name, &blk )
  match_xxx_for_country( name, 'skiers', &blk )
end

#match_stadiums_for_country(name, &blk) ⇒ Object



25
26
27
# File 'lib/sportdb/matcher.rb', line 25

def match_stadiums_for_country( name, &blk )
  match_xxx_for_country( name, 'stadiums', &blk )
end

#match_teams_for_country(name, &blk) ⇒ Object



13
14
15
# File 'lib/sportdb/matcher.rb', line 13

def match_teams_for_country( name, &blk )
  match_xxx_for_country( name, 'teams', &blk )
end

#match_tracks_for_country(name, &blk) ⇒ Object



17
18
19
# File 'lib/sportdb/matcher.rb', line 17

def match_tracks_for_country( name, &blk )
  match_xxx_for_country( name, 'tracks', &blk )
end