PHP 8.2.31
Preview: with_index-i.yaml Size: 401 B
/proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Enumerable/Enumerator/with_index-i.yaml

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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Iterates the given block for each elements with an index, which start from 0. If no block is given, returns an enumerator.
full_name: Enumerable::Enumerator#with_index
is_singleton: false
name: with_index
params: |
  e.with_index {|(*args), idx| ... }
  e.with_index

visibility: public

Directory Contents

Dirs: 0 × Files: 8

Name Size Perms Modified Actions
811 B lrw-r--r-- 2023-07-26 13:47:22
Edit Download
355 B lrw-r--r-- 2023-07-26 13:47:22
Edit Download
411 B lrw-r--r-- 2023-07-26 13:47:22
Edit Download
524 B lrw-r--r-- 2023-07-26 13:47:22
Edit Download
755 B lrw-r--r-- 2023-07-26 13:47:22
Edit Download
289 B lrw-r--r-- 2023-07-26 13:47:22
Edit Download
401 B lrw-r--r-- 2023-07-26 13:47:22
Edit Download
193 B lrw-r--r-- 2023-07-26 13:47:22
Edit Download

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