Implement Comparable spaceship operator in ruby