title: How do I get the maximum value of a hash in Ruby?
body: <p>Given a hash whose values are all numeric, I thought I read in some other SO post this was done by</p>
  
  <pre><code>hash.max_by{|k,v| v}
  </code></pre>
  
  <p>but this returns an array, which I don't want.  I want the greatest value in my hash.</p>