Ruby has an operator <=>. In the API, they will not give his name, simply:
<=>
The class must define the operator <=> ...Comparable applications <=> for the implementation of conventional comparison ...... objects in the collection must also implement the meaningful operator <=> ...
The class must define the operator <=> ...
Comparable applications <=> for the implementation of conventional comparison ...
... objects in the collection must also implement the meaningful operator <=> ...
What's his name?
See @Tony above. However, he also called (in slang) "the spacecraft operator."
He called the Combined Comparison Operator
. 0, , 1, -1, .
(a <=> b) returns -1.
This is called the combined comparison operator. Returns 0 if the first operand is equal to the second, 1 if the first operand is greater than the second and -1 if the first operand is less than the second.
Source
Ive also heard it's just called a double hash rocket