Module: SportDb::Matcher
Instance Method Summary collapse
- #match_clubs_for_country(name, &blk) ⇒ Object
- #match_leagues_for_country(name, &blk) ⇒ Object
- #match_players_for_country(name, &blk) ⇒ Object
- #match_stadiums_for_country(name, &blk) ⇒ Object
- #match_teams_for_country(name, &blk) ⇒ Object
Instance Method Details
#match_clubs_for_country(name, &blk) ⇒ Object
17 18 19 |
# File 'lib/sportdb/matcher.rb', line 17 def match_clubs_for_country( name, &blk ) match_xxx_for_country( name, 'clubs', &blk ) end |
#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_players_for_country(name, &blk) ⇒ Object
21 22 23 |
# File 'lib/sportdb/matcher.rb', line 21 def match_players_for_country( name, &blk ) match_xxx_for_country( name, 'players', &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 |