From afe1219e1fc0f14ec5d6ed973c8b525b66b3377f Mon Sep 17 00:00:00 2001 From: dave Date: Fri, 2 Jan 2004 06:01:12 +0000 Subject: Finish documenting internal stuff. See Changelog for other details git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'eval.c') diff --git a/eval.c b/eval.c index 1578dc772..6d88111a8 100644 --- a/eval.c +++ b/eval.c @@ -4181,9 +4181,12 @@ rb_exit(status) exit(status); } + /* * call-seq: * exit(integer=0) + * Kernel::exit(integer=0) + * Process::exit(integer=0) * * Initiates the termination of the Ruby script by raising the * SystemExit exception. This exception may be caught. The @@ -4203,9 +4206,9 @@ rb_exit(status) * rescued a SystemExit exception * after begin block * - * Just prior to termination, Ruby executes any at_exit - * functions and runs any object finalizers (see - * ObjectSpace beginning on page 434). + * Just prior to termination, Ruby executes any at_exit functions + * (see Kernel::at_exit) and runs any object finalizers (see + * ObjectSpace::define_finalizer). * * at_exit { puts "at_exit function" } * ObjectSpace.define_finalizer("string", proc { puts "in finalizer" }) @@ -4246,10 +4249,12 @@ rb_f_exit(argc, argv) return Qnil; /* not reached */ } + /* * call-seq: * abort - * abort(msg) + * Kernel::abort + * Process::abort * * Terminate execution immediately, effectively by calling * Kernel.exit(1). If _msg_ is given, it is written -- cgit