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