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

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

visibility: public
