instance method
utc?
Ruby on Rails 3.0.20
Since v2.2.3Signature
utc?()
No documentation comment.
Source
# File activesupport/lib/active_support/time_with_zone.rb, line 84
def utc?
time_zone.name == 'UTC'
end
Defined in activesupport/lib/active_support/time_with_zone.rb line 84
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeWithZone