class RuboCop::AST::NodePattern

def ==(other)

def ==(other)
  other.is_a?(NodePattern) && other.ast == ast
end