Gene Tani
12/13/2005 5:51:00 AM
Jeff Cohen wrote:
> I'm learning to write ruby code, and I'm using 1.8.2 on Windows XP.
> What is the best way to exit from my .rb script?
>
> I'm using Process.exit but the documentation implies that it will throw
> an exception. So I'm guessing there's a "cleaner" way to exit?
>
just to save you 3.5 seconds of searching, it's Kernel.exit and exit!
we're talking about in the docs.