A Admin • 833K Points Coach 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 Correct Answer - Option(C) Views: 25 Filed under category Ruby Hashtags: Share Manage Tags
Discusssion
Login to discuss.