Oliver S. wrote in post #1010990:
> Steve's is good, but why use max when max_by is cleaner?
>
> @hash.max_by{|x| x[1]}

Or even cleaner:

@hash.max_by {|k,v| v}

-- 
Posted via http://www.ruby-forum.com/.