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