Q. How do you define a custom iterator in Ruby?
β
Correct Answer: (C)
By creating a method that yields to a block of code
You must be Logged in to update hint/solution