# File lib/map.rb, line 403 def each_with_index keys.each_with_index{|key, index| yield([key, self[key]], index)} self end