Current Path : /usr/local/share/ri/1.8/system/Enumerable/Enumerator/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/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