class RuboCop::AST::CasgnNode

def name

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