1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

suppress warning: ambiguous first argument; put parentheses or a space even after `-' operator

Introduced at r58905
http://rubyci.s3.amazonaws.com/ubuntu/ruby-trunk/log/20170526T153003Z.diff.html.gz

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2017-05-28 16:41:31 +00:00
parent dd0148007f
commit abbfc048c5

View file

@ -589,7 +589,7 @@ class ERB
end
def add_put_cmd(out, content)
out.push("#{@put_cmd} -#{content_dump(content)}")
out.push("#{@put_cmd}(-#{content_dump(content)})")
end
def add_insert_cmd(out, content)