class RuboCop::Cop::Style::SuperArguments

def positional_arg_same?(def_arg, super_arg)

def positional_arg_same?(def_arg, super_arg)
  return false unless def_arg.type?(:arg, :optarg)
  return false unless super_arg.lvar_type?
  def_arg.name == super_arg.children.first
end