class method
self.zones_map
Ruby on Rails 3.2.22.5
Since v2.3.18Signature
self.zones_map()
No documentation comment.
Source
# File activesupport/lib/active_support/values/time_zone.rb, line 348
def zones_map
@zones_map ||= begin
new_zones_names = MAPPING.keys - lazy_zones_map.keys
new_zones = Hash[new_zones_names.map { |place| [place, create(place)] }]
lazy_zones_map.merge(new_zones)
end
end
Defined in activesupport/lib/active_support/values/time_zone.rb line 348
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeZone