πŸ“Š Ruby
Q. What is the purpose of the each method in Ruby iterators?
  • (A) To iterate over each element in a collection
  • (B) To filter elements in a collection
  • (C) To map elements to a new collection
  • (D) To sort elements in a collection
πŸ’¬ Discuss
βœ… Correct Answer: (A) To iterate over each element in a collection

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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