提交 ed81031f 编写于 作者: R Ryuta Kamizono 提交者: Rafael Mendonça França

Merge pull request #37303 from eregon/follow-frozen-symbol-to_s

Use String#+@ before mutating the result of Symbol#to_s
上级 6091b8f9
......@@ -39,7 +39,7 @@ def [](key)
end
def method_missing(name, *args)
name_string = name.to_s
name_string = +name.to_s
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.
先完成此消息的编辑!
想要评论请 注册