title: How can I return something early from a block?
body: <p>If I wanted to do something like this:</p>
  
  <pre><code>collection.each do |i|
     return nil if i == 3
  
     ..many lines of code here..
  end
  </code></pre>
  
  <p>How would I get that effect? I know I could just wrap everything inside the block in a big if statement, but I'd like to avoid the nesting if possible.</p>
  
  <p>Break would not work here, because I do <em>not</em> want to stop iteration of the remaining elements.</p>