module UserAgent::Comparable

def <=(other)

def <=(other)
  (c = self <=> other) ? c == -1 || c == 0 : false
end