πŸ“Š Ruby
Q. What is the purpose of the drop_while method in Ruby enumerators?
  • (A) Applies a block of code to each element and returns a new collection
  • (B) Sorts elements in a collection
  • (C) Skips elements in a collection until a given condition is met
  • (D) Removes elements from a collection until a given condition is met
πŸ’¬ Discuss
βœ… Correct Answer: (C) Skips elements in a collection until a given condition is met

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
109
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
99%
Success Rate