instance method
zone
Ruby on Rails 3.0.20
Since v2.2.3Signature
zone()
Time uses zone to display the time zone abbreviation, so we’re duck-typing it.
Source
# File activesupport/lib/active_support/time_with_zone.rb, line 100
def zone
period.zone_identifier.to_s
end
Defined in activesupport/lib/active_support/time_with_zone.rb line 100
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeWithZone