Class: Sports::Player

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

Class Method Summary collapse

Class Method Details

._searchObject



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

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

.match(name) ⇒ Object

more deriv support functions / helpers



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

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

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

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



28
29
30
31
32
# File 'lib/sportdb/search/sport-more.rb', line 28

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