PHP 8.2.31
Preview: exit-c.yaml Size: 1.35 KB
/proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Process/exit-c.yaml

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Initiates the termination of the Ruby script by raising the <tt>SystemExit</tt> exception. This exception may be caught. The optional parameter is used to return a status code to the invoking environment.
- !ruby/struct:SM::Flow::VERB 
  body: "   begin\n     exit\n     puts &quot;never get here&quot;\n   rescue SystemExit\n     puts &quot;rescued a SystemExit exception&quot;\n   end\n   puts &quot;after begin block&quot;\n"
- !ruby/struct:SM::Flow::P 
  body: <em>produces:</em>
- !ruby/struct:SM::Flow::VERB 
  body: "   rescued a SystemExit exception\n   after begin block\n"
- !ruby/struct:SM::Flow::P 
  body: Just prior to termination, Ruby executes any <tt>at_exit</tt> functions (see Kernel::at_exit) and runs any object finalizers (see ObjectSpace::define_finalizer).
- !ruby/struct:SM::Flow::VERB 
  body: "   at_exit { puts &quot;at_exit function&quot; }\n   ObjectSpace.define_finalizer(&quot;string&quot;,  proc { puts &quot;in finalizer&quot; })\n   exit\n"
- !ruby/struct:SM::Flow::P 
  body: <em>produces:</em>
- !ruby/struct:SM::Flow::VERB 
  body: "   at_exit function\n   in finalizer\n"
full_name: Process::exit
is_singleton: true
name: exit
params: |
  exit(integer=0)
  Kernel::exit(integer=0)
  Process::exit(integer=0)

visibility: public

Directory Contents

Dirs: 4 × Files: 38

Name Size Perms Modified Actions
GID DIR
- drwxr-xr-x 2024-03-03 22:50:13
Edit Download
Status DIR
- drwxr-xr-x 2024-03-03 22:50:13
Edit Download
Sys DIR
- drwxr-xr-x 2024-03-03 22:50:13
Edit Download
UID DIR
- drwxr-xr-x 2024-03-03 22:50:13
Edit Download
395 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
3.85 KB lrw-r--r-- 2023-07-26 13:48:00
Edit Download
1.91 KB lrw-r--r-- 2023-07-26 13:48:00
Edit Download
315 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
454 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
302 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
424 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
1.22 KB lrw-r--r-- 2023-07-26 13:48:00
Edit Download
421 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
1.35 KB lrw-r--r-- 2023-07-26 13:48:00
Edit Download
1.04 KB lrw-r--r-- 2023-07-26 13:48:00
Edit Download
421 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
433 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
863 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
868 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
269 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
416 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
536 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
417 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
837 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
963 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
330 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
399 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
368 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
609 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
366 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
299 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
605 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
2.41 KB lrw-r--r-- 2023-07-26 13:48:00
Edit Download
457 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
473 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
312 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
414 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
2.17 KB lrw-r--r-- 2023-07-26 13:48:00
Edit Download
772 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
878 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
2.18 KB lrw-r--r-- 2023-07-26 13:48:00
Edit Download
778 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).