HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/share/ri/2.7.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