class SourceMap::Offset

def <=>(other)

when its greater. Implements the Comparable#<=> protocol.
Returns a negative number when other is smaller and a positive number

other - Another Offset

Useful for determining if a position in a few is between two offsets.

Public: Compare Offset to another.
def <=>(other)
  case other
  when Offset
    diff = self.line - other.line
    diff.zero? ? self.column - other.column : diff
  else
    raise ArgumentError, "can't convert #{other.class} into #{self.class}"
  end
end