Looks like you are making a case (no pun intended ... ) for goto. ;-)

"Wejn" <lists+rubytalk / box.cz> wrote in message
news:20020905005626.A15456 / profa.box.cz...
> Hi,
>   is there any possibility to 'break' from 'case' ?
>
> while run
>     case x
>         when 'b'
>             ``skip'' if cond # how ????
>             something_else
>         else
>             something
>     end
>     timer = Time.now
> end
>
> Is there any possibility (in the example above) to skip the rest
> of "when 'b'" and continue at the line "timer = Time.now" using some
> keyword/statement?
>
> There's always if-else-end option, but it seems to be inelegant in this
> case due to indent-level increasing (I have three ifs in the real code)
>
> Thanks in advance,
>                             W.
> --
>               Wejn <lists+rubytalk(at)box.cz>
> (svamberk.net's Linux section, fi.muni.cz student, linuxfan)
> >>>         Bored?  Want hours of entertainment?         <<<
> >>>           Just set the initdefault to 6!             <<<
>