goto

http://raa.ruby-lang.org/project/ruby-goto/



On Tue, Dec 23, 2008 at 9:48 PM, Xx Xx <limhuisian / hotmail.com> wrote:
> Can we do a " go label " in ruby just like in asm? i cant find any
> example or documentation about this...
>
> for example...
> if()
> some codes
> go LabelA
>
> else
> some other codes
> go LabelB
>
> end
>
>
> LabelA:
>
> codes
>
>
> LabelB:
>
> codes
> --
> Posted via http://www.ruby-forum.com/.
>
>