Merge pull request #2229 from yui-knk/add-comment-each_pair

Add comment to Hash#each_pair. And change the line
This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-05-10 20:54:18 +09:00
+3 -1
View File
@@ -1,5 +1,8 @@
class Hash
# ISO does not define Hash#each_pair, so each_pair is defined in gem.
alias each_pair each
##
# call-seq:
# hsh.merge!(other_hash) -> hsh
@@ -33,7 +36,6 @@ class Hash
self
end
alias each_pair each
alias update merge!
##