class RuboCop::AST::ForNode

def collection

Returns:
  • (Node) - The collection the `for` loop is iterating over
def collection
  node_parts[1]
end