# File lib/chef/resource_collection/stepable_iterator.rb, line 46 def each_index(&block) reset_iteration(block) @iterator_type = :index iterate end