Method: Countrizable.with_country_codes
- Defined in:
- lib/countrizable.rb
.with_country_codes(*country_codes, &block) ⇒ Object
35 36 37 38 39 |
# File 'lib/countrizable.rb', line 35 def with_country_codes(*country_codes, &block) country_codes.flatten.map do |country_code| with_country_code(country_code, &block) end end |