Method: Worldwide::Region#timezones
- Defined in:
- lib/worldwide/region.rb
#timezones ⇒ Object
If the region spans multiple timezones (and it has postal codes), then this attribute will contain a hash table mapping from timezone name to a list of postal code prefixes. We can use this information to determine the timezone for a given postal code.
147 148 149 |
# File 'lib/worldwide/region.rb', line 147 def timezones @timezones end |