Niko Schwarz <niko.schwarz / gmx.net> writes:

> Hi there,
> is there a way to exit a block before time?
> like:
> 
> field.each { |el|
>         if(el.alsacian?)
>                 break #no, dont want anymore
>         else
>                 puts el
>         end
> }

Doesn't 'break' work?