Class: Sports::City
- Inherits:
-
Object
- Object
- Sports::City
- Defined in:
- lib/sportdb/search/structs_world.rb
Class Method Summary collapse
-
._search ⇒ Object
use service/api or such - why? why not?.
- .match_by(name:) ⇒ Object
Class Method Details
._search ⇒ Object
use service/api or such - why? why not?
4 5 6 |
# File 'lib/sportdb/search/structs_world.rb', line 4 def self._search #### use service/api or such - why? why not? SportDb::Import.world.cities end |
.match_by(name:) ⇒ Object
8 9 10 |
# File 'lib/sportdb/search/structs_world.rb', line 8 def self.match_by( name: ) _search.match_by( name: name ) end |