What is the purpose of the reduce method in Ruby enumerators?
A. To sort elements in a collection
B. To map elements to a new collection
C. To combine all elements in a collection into a single value
D. To filter elements in a collection
Answer: Option C
Join The Discussion