title: What's the fastest way in Ruby to get the first enumerable element for which a block returns true?
body: <p>What's the fastest way in Ruby to get the first enumerable element for which a block returns true?</p>
  
  <p>For example:</p>
  
  <pre><code>arr = [12, 88, 107, 500]
  arr.select {|num| num &gt; 100 }.first  # =&gt; 107
  </code></pre>
  
  <p>I'd like to do this without running through the entire array, as <code>select</code> will, since I only need the first match.</p>
  
  <p>I know I could do an <code>each</code> and break on success, but I thought there was a native method for doing this; I just haven't found it in the documentation.</p>