Hash#__update fix typo

It's called by create Hash of over 126 keys
This commit is contained in:
ksss
2014-03-24 08:43:44 +09:00
parent 75eed54bba
commit 2981b4e3d9
+1 -1
View File
@@ -197,7 +197,7 @@ class Hash
end
def __update(h)
h.each_key{|k| self[k] = h[v]}
h.each_key{|k| self[k] = h[k]}
self
end
end