class RuboCop::AST::Procarg0Node

the AST, making its methods available to all ‘arg` nodes within RuboCop.
This will be used in place of a plain node when the builder constructs
A node extension for `procarg0` nodes.

def name

Returns:
  • (Symbol, nil) - the name of the argument
def name
  node_parts[0].name
end