class RuboCop::Cop::Style::FileEmpty

def bang(node)

def bang(node)
  if (node.method?(:==) && node.child_nodes.first.method?(:!)) ||
     (%i[>= !=].include?(node.method_name) && !node.child_nodes.first.method?(:!))
    '!'
  end
end