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