What does the cycle method do in Ruby enumerators?
A. Removes duplicate elements from a collection
B. Sorts elements in a collection
C. Iterates over each element in a collection indefinitely
D. Repeatedly applies a block of code to each element
Answer: Option C
Join The Discussion