class method
self.lookup
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v4.0.13 PrivateSignature
self.lookup(name)
No documentation comment.
Parameters
-
namereq
Source
# File activesupport/lib/active_support/values/time_zone.rb, line 411
def lookup(name)
(tzinfo = find_tzinfo(name)) && create(tzinfo.name.freeze)
end
Defined in activesupport/lib/active_support/values/time_zone.rb line 411
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeZone