class RuboCop::AST::ForNode

def variable

Returns:
  • (Node) - The iteration variable of the `for` loop
def variable
  node_parts[0]
end