Class: Sports::Ground

Inherits:
Object
  • Object
show all
Defined in:
lib/sportdb/search/sport-more.rb

Class Method Summary collapse

Class Method Details

._searchObject



5
# File 'lib/sportdb/search/sport-more.rb', line 5

def self._search() CatalogDb::Metal::Ground; end

.match(name) ⇒ Object

more deriv support functions / helpers



17
# File 'lib/sportdb/search/sport-more.rb', line 17

def self.match( name ) match_by( name: name ); end

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

core required delegates - use delegate generator - why? why not?



9
10
11
12
13
# File 'lib/sportdb/search/sport-more.rb', line 9

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