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