Method: Worldwide::Region#iso_code
- Defined in:
- lib/worldwide/region.rb
#iso_code ⇒ Object (readonly)
The ISO-3166-2 code for this region (e.g. “CA”, “CA-ON”) or, if there is no alpha-2 code defined for this region, a numeric code (e.g. “001”).
94 95 96 |
# File 'lib/worldwide/region.rb', line 94 def iso_code @iso_code end |