title: Longest item in array
body: <p>Is there an easier way than below to find the longest item in an array?</p>
  
  <pre><code>arr = [
      [0,1,2],
      [0,1,2,3],
      [0,1,2,3,4],
      [0,1,2,3]
  ]
  
  longest_row = []
  @rows.each { |row| longest_row = row if row.length &gt; longest_row.length }
  
  p longest_row # =&gt; [0,1,2,3,4]
  </code></pre>