Module: WorldDb::Matcher

Defined in:
lib/worlddb/compat/matcher.rb

Instance Method Summary collapse

Instance Method Details

#match_regions_abbr_for_country(name, &blk) ⇒ Object

NB: . gets escaped for regex, that is, .



17
18
19
# File 'lib/worlddb/compat/matcher.rb', line 17

def match_regions_abbr_for_country( name, &blk )  # NB: . gets escaped for regex, that is, \.
  match_states_abbr_for_country( name, &blk )
end

#match_regions_for_country(name, &blk) ⇒ Object



13
14
15
# File 'lib/worlddb/compat/matcher.rb', line 13

def match_regions_for_country( name, &blk )
  match_states_for_country( name, &blk )
end

#match_regions_iso_for_country(name, &blk) ⇒ Object

NB: . gets escaped for regex, that is, .



21
22
23
# File 'lib/worlddb/compat/matcher.rb', line 21

def match_regions_iso_for_country( name, &blk )  # NB: . gets escaped for regex, that is, \.
  match_states_iso_for_country( name, &blk )
end

#match_regions_nuts_for_country(name, &blk) ⇒ Object

NB: . gets escaped for regex, that is, .



25
26
27
# File 'lib/worlddb/compat/matcher.rb', line 25

def match_regions_nuts_for_country( name, &blk )  # NB: . gets escaped for regex, that is, \.
  match_states_nuts_for_country( name, &blk )
end

#match_xxx_for_country_n_region(name, xxx) ⇒ Object

compat - remove later!!!



9
10
11
# File 'lib/worlddb/compat/matcher.rb', line 9

def match_xxx_for_country_n_region( name, xxx )
  match_xxx_for_country_n_state( name, xxx )
end