instance method
tzinfo
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.2.3Signature
tzinfo()
TODO: Preload instead of lazy load for thread safety
Source
# File activesupport/lib/active_support/values/time_zone.rb, line 290
def tzinfo
@tzinfo ||= TZInfo::Timezone.get(MAPPING[name])
end
Defined in activesupport/lib/active_support/values/time_zone.rb line 290
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeZone