Hash#replace should copy default from original even when the default value of...

Hash#replace should copy default from original even when the default value of the original is not set
parent 950fe963
......@@ -154,7 +154,7 @@ class Hash
}
if hash.default_proc
self.default_proc = hash.default_proc
elsif hash.default
else
self.default = hash.default
end
self
......
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