Q11
How do you create a custom enumerator in Ruby?
A.
By defining a method that yields to a block of code
B.
By invoking the create_enumerator method
C.
By extending the Enumerator class
AnswerD.
By using the define_enumerator keyword
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board