Commit b8d7f1ce authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #1928 from ksss/fix-typo

Hash#__update fix typo
parents 4592862b 2981b4e3
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment