diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-28 16:41:31 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-28 16:41:31 +0000 |
commit | 52e9980b0e5a1018aa3e314c30aaa1b48b7514be (patch) | |
tree | 96586e0ed1a5fd9e3c46d04cec497bf729a2989b | |
parent | 8078d92dd7623a89c01e2be85ac3df91d8cdf3ec (diff) | |
download | ruby-52e9980b0e5a1018aa3e314c30aaa1b48b7514be.tar.gz |
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
-rw-r--r-- | lib/erb.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/erb.rb b/lib/erb.rb index 8a6c237f7b..ff30621041 100644 --- a/lib/erb.rb +++ b/lib/erb.rb @@ -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) |