class RuboCop::AST::OpAsgnNode

def name

Returns:
  • (Symbol) - the name of the variable being assigned
def name
  assignment_node.name
end