class method
self.zones_map
Ruby on Rails 7.2.3
Since v2.3.18 PrivateSignature
self.zones_map()
No documentation comment.
Source
# File activesupport/lib/active_support/values/time_zone.rb, line 289
def zones_map
@zones_map ||= MAPPING.each_with_object({}) do |(name, _), zones|
timezone = self[name]
zones[name] = timezone if timezone
end
end
Defined in activesupport/lib/active_support/values/time_zone.rb line 289
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeZone