# Re: How to "go to" in a RUBY script . .

**URL:** <https://www.ruby-forum.com/t/re-how-to-go-to-in-a-ruby-script/94992>\
**Category:** Ruby\
**Created:** [May 18, 2006, 10:59pm UTC](https://www.ruby-forum.com/t/re-how-to-go-to-in-a-ruby-script/94992 "2006-05-18T22:59:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BergerS\_Daniel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bc8723/32.png) [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Post date:** [May 18, 2006, 10:59pm UTC](https://www.ruby-forum.com/t/re-how-to-go-to-in-a-ruby-script/94992/1 "2006-05-18T22:59:30Z")

</div>

> > I’ll distract him, while y’all get a rope.
> 
> in every loop condition., even though I had to put silly nop  
> statements at the end of the functions.

catch(:block) do … end

Between that and redo you should be good to go. Prolly slower, though.

Regards,

Dan

This communication is the property of Qwest and may contain confidential  
or  
privileged information. Unauthorized use of this communication is  
strictly  
prohibited and may be unlawful. If you have received this communication  
in error, please immediately notify the sender by reply e-mail and  
destroy  
all copies of the communication and any attachments.
