M

Mr. Dubey • 52.41K 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: 72
  • 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.

Be the first to start discuss.


Question analytics