Spaceship Operator (<=>) (Ruby)

The spaceship operator <=> compares two values and returns -1, 0, or 1 (or nil if not comparable). It's the basis for sorting and for the Comparable mixin.