Shut down Ruby interpreter as last command of a script?

Is there a command I can issue in the last command of a script to shut
down the Ruby interpreter? (I want to open the ruby interpreter to
execute the script from another program, but I want the script to
close the interpreter that I launch.)

Thanks,

The SketchUp Artist

exit

···

On 7/31/07, Sunburned Surveyor <sunburned.surveyor@gmail.com> wrote:

Is there a command I can issue in the last command of a script to shut
down the Ruby interpreter? (I want to open the ruby interpreter to
execute the script from another program, but I want the script to
close the interpreter that I launch.)

Thanks Tim.

That was way to easy.

The SketchUp Artist

···

On Jul 31, 10:54 am, "Tim Pease" <tim.pe...@gmail.com> wrote:

On 7/31/07, Sunburned Surveyor <sunburned.surve...@gmail.com> wrote:

> Is there a command I can issue in the last command of a script to shut
> down the Ruby interpreter? (I want to open the ruby interpreter to
> execute the script from another program, but I want the script to
> close the interpreter that I launch.)

exit

Thanks Tim.

That was way too easy.

The SketchUp Artist

···

On Jul 31, 10:54 am, "Tim Pease" <tim.pe...@gmail.com> wrote:

On 7/31/07, Sunburned Surveyor <sunburned.surve...@gmail.com> wrote:

> Is there a command I can issue in the last command of a script to shut
> down the Ruby interpreter? (I want to open the ruby interpreter to
> execute the script from another program, but I want the script to
> close the interpreter that I launch.)

exit