dup instead of `@+` since we still support Ruby 2.2

上级 ed81031f
......@@ -39,7 +39,7 @@ def [](key)
end
def method_missing(name, *args)
name_string = +name.to_s
name_string = name.to_s.dup
if name_string.chomp!("=")
self[name_string] = args.first
else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册