Catch and throw?

Can someone explain to me how catch and throw works?

Unless you have a very specific question, you’ll find a lot of resources
available online which deal with catch and throw, as well as other
programming whatnots.

http://www.google.com/search?q=ruby+catch+throw

If you have trouble with a particular part of Ruby’s catch-throw system,
that’s much easier to respond to, because it’s less vague. Unless people
know what it is that you want to know, the only real option is to give
you
all the information available on catch and throw! The same is true for
other
programming topics.