HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/share/ri/3.0.0/system/Kernel/exit-i.ri
U:RDoc::AnyMethod[iI"	exit:ETI"Kernel#exit;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"AInitiates the termination of the Ruby script by raising the ;TI"=SystemExit exception. This exception may be caught. The ;TI"Hoptional parameter is used to return a status code to the invoking ;TI"environment. ;TI">+true+ and +FALSE+ of _status_ means success and failure ;TI"Crespectively.  The interpretation of other integer values are ;TI"system dependent.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[I"begin
;TI"  exit
;TI"  puts "never get here"
;TI"rescue SystemExit
;TI"-  puts "rescued a SystemExit exception"
;TI"	end
;TI"puts "after begin block"
;T:@format0o;
;	[I"<em>produces:</em>;T@o;;	[I"$rescued a SystemExit exception
;TI"after begin block
;T;
0o;
;	[I"GJust prior to termination, Ruby executes any <code>at_exit</code> ;TI"Dfunctions (see Kernel::at_exit) and runs any object finalizers ;TI")(see ObjectSpace::define_finalizer).;T@o;;	[I")at_exit { puts "at_exit function" }
;TI"KObjectSpace.define_finalizer("string",  proc { puts "in finalizer" })
;TI"
exit
;T;
0o;
;	[I"<em>produces:</em>;T@o;;	[I"at_exit function
;TI"in finalizer;T;
0:
@fileI"process.c;T:0@omit_headings_from_table_of_contents_below0I"Lexit(status=true)
Kernel::exit(status=true)
Process::exit(status=true)
;T0[I"(*args);T@6FI"Kernel;TcRDoc::NormalModule00