lib/amazon_sdb/multimap.rb
def each_pair_with_index
        index = 0
        self.each_pair do |key, value|
          yield key, value, index
          index += 1
        end
      end
##
# Yields each pair as separate key/value plus an index.
Yields each pair as separate key/value plus an index.
Yields each pair as separate key / value plus an index .
def each_pair_with_index
        index = 0
        self.each_pair do |key, value|
          yield key, value, index
          index += 1
        end
      end
def each_pair_with_index index = 0 self . each_pair do | key , value | yield key , value , index index += 1 end end
Yields each pair as separate key/value plus an index.
Yields each pair as separate key / value plus an index .