title: How to get most recent date value from array of hashes
body: <p>I have an array of hashes like this:</p>
  
  <pre><code>hashes = [{date: Date.today, value: 1},
            {date: Date.today - 1.day, value: 2},
            {date: Date.today - 2.day, value: 3},
            {date: Date.today + 1.day, value: 4}
  ]
  </code></pre>
  
  <p>And I want to get most recent date. I could get by:</p>
  
  <pre><code>hashes.sort{|i| i[:date]}.first[:date]
  # =&gt; Sat, 27 Feb 2016
  </code></pre>
  
  <p>But I feel it's a bit redundant. Is there better way to implement this behavior?</p>