def <=>(other) self.to_s <=> other.to_s end def ==(other) self.to_s == other.to_s end def eql?(other) self.class == other.class && self == other end