Class: Sports::Ground

Inherits:
Object
  • Object
show all
Defined in:
lib/sportdb/search/structs.rb

Class Method Summary collapse

Class Method Details

._searchObject



81
82
83
# File 'lib/sportdb/search/structs.rb', line 81

def self._search
    SportDb::Import.catalog.grounds
end

.match_by(name:, country: nil, city: nil) ⇒ Object



85
86
87
88
89
# File 'lib/sportdb/search/structs.rb', line 85

def self.match_by( name:, country: nil, city: nil )
  _search.match_by( name:    name,
                    country: country,
                    city:    city )
end