M

Mr. Dubey • 95.58K Points
Coach

Q. What is the purpose of the Enumerator class in Ruby?

  • (A) It provides a way to enumerate over the elements of an array
  • (B) It allows you to create custom iterators for any enumerable object
  • (C) It allows you to define custom iteration behavior for any enumerable object
  • (D) It provides a way to enumerate over the elements of an array
  • Correct Answer - Option(B)
  • Views: 56
  • Filed under category Ruby

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics