class method
self.us_zones
Ruby on Rails edge
Signature
self.us_zones()
A convenience method for returning a collection of TimeZone objects for time zones in the USA.
Source
# File activesupport/lib/active_support/values/time_zone.rb, line 258
def us_zones
country_zones(:us)
end
Defined in activesupport/lib/active_support/values/time_zone.rb line 258
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeZone