提交 9e4ff29f 编写于 作者: A Akira Matsuda

No need to dup before double-splatting a Hash

上级 cd31e113
......@@ -21,7 +21,7 @@ def method_missing(method, *arguments, &block)
elsif arguments.last.respond_to?(:to_hash)
options = @options.deep_merge(arguments.pop)
else
options = @options.dup
options = @options
end
if options
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册