Q. What is the purpose of the each_cons method in Ruby enumerators?
β
Correct Answer: (D)
Iterates over each consecutive sequence of a given size in a collection
You must be Logged in to update hint/solution