include Comparable
<=>
Parameter | Details | ——— | —–– | other | The instance to be compared to self |
self
x <=> y should return a negative number if x < y, zero if x == y and a positive number if x > y.
x <=> y
x < y
x == y
x > y