Gestionnaire de fichiers - Editer - /opt/cpanel/ea-ruby24/root/usr/share/ri/system/Process/exit-c.ri
Arrière
U:RDoc::AnyMethod[iI" exit:ETI"Process::exit;TT: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"Process;TcRDoc::NormalModule00
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0.01 |
proxy
|
phpinfo
|
Réglages