instance method
to_time
Ruby on Rails 2.3.18
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 268
def to_time
self
end
Defined in activesupport/lib/active_support/time_with_zone.rb line 268
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeWithZone