Q. What is the purpose of the with_index method in Ruby enumerators?
β
Correct Answer: (D)
Iterates over each element in a collection along with its index
You must be Logged in to update hint/solution