PHP 8.2.31
Preview: new-c.yaml Size: 543 B
//proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Generator/new-c.yaml

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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Creates a new generator either from an Enumerable object or from a block.
- !ruby/struct:SM::Flow::P 
  body: In the former, block is ignored even if given.
- !ruby/struct:SM::Flow::P 
  body: In the latter, the given block is called with the generator itself, and expected to call the <tt>yield</tt> method for each element.
full_name: Generator::new
is_singleton: true
name: new
params: (enum = nil, &block)
visibility: public

Directory Contents

Dirs: 0 × Files: 11

Name Size Perms Modified Actions
1.40 KB lrw-r--r-- 2023-07-26 13:47:10
Edit Download
252 B lrw-r--r-- 2023-07-26 13:47:10
Edit Download
279 B lrw-r--r-- 2023-07-26 13:47:10
Edit Download
252 B lrw-r--r-- 2023-07-26 13:47:10
Edit Download
260 B lrw-r--r-- 2023-07-26 13:47:10
Edit Download
543 B lrw-r--r-- 2023-07-26 13:47:10
Edit Download
262 B lrw-r--r-- 2023-07-26 13:47:10
Edit Download
264 B lrw-r--r-- 2023-07-26 13:47:10
Edit Download
256 B lrw-r--r-- 2023-07-26 13:47:10
Edit Download
228 B lrw-r--r-- 2023-07-26 13:47:10
Edit Download
244 B lrw-r--r-- 2023-07-26 13:47:10
Edit Download

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