instance method
zone
Ruby on Rails 3.1.12
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 102
def zone
period.zone_identifier.to_s
end
Defined in activesupport/lib/active_support/time_with_zone.rb line 102
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeWithZone