instance method
<=>
Ruby on Rails 3.1.12
Since v2.2.3Signature
<=>(other)
Use the time in UTC for comparisons.
Parameters
-
otherreq
Source
# File activesupport/lib/active_support/time_with_zone.rb, line 185
def <=>(other)
utc <=> other
end
Defined in activesupport/lib/active_support/time_with_zone.rb line 185
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeWithZone