Q. What is the purpose of the Enumerable#reduce method in Ruby?
β
Correct Answer: (D)
It combines all elements of a collection into a single value using a binary operation
You must be Logged in to update hint/solution