Class: Sports::City

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

Class Method Summary collapse

Class Method Details

._searchObject

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