title: Best pattern for simulating "continue" in Groovy closure
body: <p>It seems that Groovy does not support <code>break</code> and <code>continue</code> from within a closure. What is the best way to simulate this?</p>
  
  <pre><code>revs.eachLine { line -&gt; 
      if (line ==~ /-{28}/) {
           // continue to next line...
      }
  }
  </code></pre>