Sha256: 06768d002d9b76e14598bf972e347cedaacefe3aa9eeed3b552377f92af78031
Contents?: true
Size: 879 Bytes
Versions: 2
Compression:
Stored size: 879 Bytes
Contents
# encoding: utf-8 module SportDb module Matcher include WorldDb::Matcher def match_leagues_for_country( name, &blk ) match_xxx_for_country( name, 'leagues', &blk ) end def match_teams_for_country( name, &blk ) match_xxx_for_country( name, 'teams', &blk ) end def match_clubs_for_country( name, &blk ) match_xxx_for_country( name, 'clubs', &blk ) end def match_tracks_for_country( name, &blk ) match_xxx_for_country( name, 'tracks', &blk ) end def match_skiers_for_country( name, &blk ) match_xxx_for_country( name, 'skiers', &blk ) end def match_players_for_country( name, &blk ) match_xxx_for_country( name, 'players', &blk ) end def match_stadiums_for_country( name, &blk ) match_xxx_for_country( name, 'stadiums', &blk ) end end # module Matcher end # module SportDb
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sportdb-1.9.5 | lib/sportdb/matcher.rb |
sportdb-1.9.4 | lib/sportdb/matcher.rb |