method
each_pair
v3.2.1 -
Show latest stable
- Class:
ActiveSupport::OrderedHash
each_pair()public
No documentation available.
# File activesupport/lib/active_support/ordered_hash.rb, line 166
def each_pair
return to_enum(:each_pair) unless block_given?
@keys.each {|key| yield key, self[key]}
self
end