PHP 8.2.31
Preview: %5b%5d-i.yaml Size: 730 B
/proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Continuation/%5b%5d-i.yaml

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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Invokes the continuation. The program continues from the end of the <tt>callcc</tt> block. If no arguments are given, the original <tt>callcc</tt> returns <tt>nil</tt>. If one argument is given, <tt>callcc</tt> returns it. Otherwise, an array containing <em>args</em> is returned.
- !ruby/struct:SM::Flow::VERB 
  body: "   callcc {|cont|  cont.call }           #=&gt; nil\n   callcc {|cont|  cont.call 1 }         #=&gt; 1\n   callcc {|cont|  cont.call 1, 2, 3 }   #=&gt; [1, 2, 3]\n"
full_name: Continuation#[]
is_singleton: false
name: "[]"
params: |
  cont.call(args, ...) 
  cont[args, ...]

visibility: public

Directory Contents

Dirs: 0 × Files: 3

Name Size Perms Modified Actions
730 B lrw-r--r-- 2023-07-26 13:47:13
Edit Download
732 B lrw-r--r-- 2023-07-26 13:47:13
Edit Download
1.67 KB lrw-r--r-- 2023-07-26 13:47:13
Edit Download

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