Number
Inherits Steppable < Comparable < Value < Object
The top-level number type.
Instance methods
<=>(other) : Int32 | Nil
The comparison operator.
Returns:
-1ifselfis less than other0ifselfis equal to other1ifselfis greater than othernilifselfisNaNor other isNaN, becauseNaNvalues are not comparable