M

Mr. Dubey • 97.86K Points
Coach

Q. What does the grep method do in Ruby enumerators?

  • (A) Sorts elements in a collection
  • (B) Filters elements in a collection based on a regular expression
  • (C) Removes duplicate elements from a collection
  • (D) Sorts elements in a collection
  • Correct Answer - Option(B)
  • Views: 125
  • 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