<=>(p1)
public
Comparison—Returns -1, 0, +1 or nil depending on whether fix is less than, equal to, or greater than numeric.
This is the basis for the tests in the Comparable module.
nil is returned if the two values are incomparable.
<=>(p1)
public
Comparison—Returns -1, 0, +1 or nil depending on whether fix is less than, equal to, or greater than numeric.
This is the basis for the tests in the Comparable module.
nil is returned if the two values are incomparable.