From: Timothy Baron Date: 2010-09-09T11:57:54+09:00 Subject: Key Associated w/ Maximum Value in Hash Simple question: what's the cleanest way to retrieve a key associated with the maximum value of a hash. For instance, how do I retrieve 'b' from the following example: hash = Hash.new hash['a']=4 hash['b']=10 hash['c']=7 -- Posted via http://www.ruby-forum.com/.