kernel/common/hash.rb
# Yields key, value for each item in the Hash. This method
# is necessary to protect the essential iterator from subclasses
# (e.g. REXML::Attribute) that replace #each with a version
# that is incompatible with the dependencies here (e.g. defining
# #each -> #each_attribute -> #each_value, where we had been
# defining #each_value in terms of #each).
Yields key, value for each item in the Hash. This method
is necessary to protect the essential iterator from subclasses
that replace #each with a version
that is incompatible with the dependencies here .
Yields key value for each item in the Hash . This method is necessary to protect the essential iterator from subclasses that replace #each with a version that is incompatible with the dependencies here .
def each_item
    i = to_iter
    while entry = i.next
      begin
        yield entry.key, entry.value
      end while entry = entry.next
    end
    self
  end
def each_item i = to_iter while entry = i . next begin yield entry . key , entry . value end while entry = entry . next end self end
Yields key, value for each item in the Hash.
Yields key value for each item in the Hash .