Hash#invert

# irb
>> h = {:banana => 100, :tomato => 120, :apple => 200}
=> {:apple=>200, :banana=>100, :tomato=>120}
>> h.invert
=> {100=>:banana, 200=>:apple, 120=>:tomato}