Sha256: e348e5ae6e2f81ef753e0bdac20a5a4884dd5895cfab9b171b5e02bb0deb5f89

Contents?: true

Size: 667 Bytes

Versions: 35

Compression:

Stored size: 667 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_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

35 entries across 35 versions & 2 rubygems

Version Path
sportdb-models-1.18.6 lib/sportdb/matcher.rb
sportdb-models-1.18.5 lib/sportdb/matcher.rb
sportdb-models-1.18.4 lib/sportdb/matcher.rb
sportdb-models-1.18.3 lib/sportdb/matcher.rb
sportdb-models-1.18.2 lib/sportdb/matcher.rb
sportdb-models-1.18.1 lib/sportdb/matcher.rb
sportdb-models-1.18.0 lib/sportdb/matcher.rb
sportdb-models-1.17.0 lib/sportdb/matcher.rb
sportdb-models-1.16.2 lib/sportdb/matcher.rb
sportdb-models-1.16.1 lib/sportdb/matcher.rb
sportdb-models-1.16.0 lib/sportdb/matcher.rb
sportdb-models-1.15.2 lib/sportdb/matcher.rb
sportdb-models-1.15.1 lib/sportdb/matcher.rb
sportdb-models-1.15.0 lib/sportdb/matcher.rb
sportdb-models-1.14.2 lib/sportdb/matcher.rb
sportdb-models-1.14.1 lib/sportdb/matcher.rb
sportdb-models-1.14.0 lib/sportdb/matcher.rb
sportdb-models-1.13.0 lib/sportdb/matcher.rb
sportdb-models-1.12.0 lib/sportdb/matcher.rb
sportdb-models-1.11.2 lib/sportdb/matcher.rb