class RuboCop::AST::AsgnNode

def name

Returns:
  • (Symbol) - the name of the variable being assigned
def name
  node_parts[0]
end