Current Path : /opt/alt/ruby18/share/ri/1.8/system/Enumerable/Enumerator/ |
Current File : //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