On 28.08.2009 17:22, Bertram Scharpf wrote:
  > Am Freitag, 28. Aug 2009, 22:17:21 +0900 schrieb Robert Klemme:
>> 2009/8/28 Robert Dober <robert.dober / gmail.com>:
>>> http://pastie.org/597659
>> I didn't know StopIteration yet.  That's nice.
> 
> I didn't know it either.  Is there anything that `break' cannot
> do better?

Multilevel exit like you can also do with catch throw (see Find.find).

Kind regards

	robert

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/