instance method
to_time
Ruby on Rails 3.2.22.5
Since v2.2.3Signature
to_time()
A TimeWithZone acts like a Time, so just return self.
Source
# File activesupport/lib/active_support/time_with_zone.rb, line 291
def to_time
utc
end
Defined in activesupport/lib/active_support/time_with_zone.rb line 291
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeWithZone