Q. 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 (D) By using the define_enumerator keyword ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (C) By extending the Enumerator class