Ruby - Enumerable and Collection Processing
Given a hash
prices = { apple: 2, banana: 1, orange: 3 }, how can you use inject to calculate the total price?