From: Jason Creighton Date: 2003-08-30T14:20:48+09:00 Subject: Re: How to end script execution mid-script? On Sat, 30 Aug 2003 08:38:15 +0900 Kurt Euler wrote: > All > > A control flow question: Could someone advise if there is command to > end Ruby scripts operation? For example, if a certain condition is > true, then the script should terminate? ~$ irb >> Process.kill("TERM", Process.pid) Terminated ~$ :-) Or you could just do the sane thing and use the 'exit' method as suggested by other posters. Jason Creighton