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