| Server IP : 162.214.74.102 / Your IP : 216.73.217.46 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Kernel/ |
Upload File : |
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"J<code>SystemExit</code> 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::BlankLine o: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"QJust prior to termination, Ruby executes any <code>at_exit</code> functions ;TI"?(see Kernel::at_exit) and runs any object finalizers (see ;TI"$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