class UserAgent

def <=>(other)

always return false.
Any comparison between two user agents with different products will
def <=>(other)
  if @product == other.product
    @version <=> other.version
  else
    false
  end
end