On Tuesday, May 25, 2004, 11:36:25 PM, ts wrote:

>>>>>> "G" == Gavin Kistner <gavin / refinery.com> writes:

G>> (Do any methods exist in the core/standard which are so named, but
G>> which do not modify the receiver?)

> svg% ri Kernel#exit!
> ----------------------------------------------------------- Kernel#exit!
>      Process.exit!(fixnum=-1)
> ------------------------------------------------------------------------
>      Exits the process immediately. No exit handlers are run. _fixnum_
>      is returned to the underlying system as the exit status.
> 
>         Process.exit!(0)


Lighthearted observation: Kernel.exit! (why does 'ri' say Kernel#exit!
when it's not an instance method?) *does* modify the status of the
Kernel.

And it can certainly be called a "destructive" method, as methods-
ending-in-bang are often called.

Gavin