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 | abbfc048c5890e8017360bbc845062ea1585e155 (patch) | |
tree | 96586e0ed1a5fd9e3c46d04cec497bf729a2989b /lib/erb.rb | |
parent | dd0148007f66f6b44419501bc053914f8cb98392 (diff) |
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
Diffstat (limited to 'lib/erb.rb')
-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) |