Google

def ==( other ) other.kind_of? Comment and (other <=> self) == 0 end