Use method from Hash

上级 7b633857
......@@ -228,7 +228,7 @@ def reverse_merge(other_hash)
# Same semantics as +reverse_merge+ but modifies the receiver in-place.
def reverse_merge!(other_hash)
replace(reverse_merge(other_hash))
super(self.class.new(other_hash))
end
# Replaces the contents of this hash with other_hash.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册