aboutsummaryrefslogtreecommitdiffstats
path: root/test/testunit/test_redefinition.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-25 00:29:30 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-25 00:29:30 +0000
commitba22341854a344727fe002c635594e1a8d40e217 (patch)
treecfab9890dad6b9b8aaa815d69ee079960e44182a /test/testunit/test_redefinition.rb
parent347c554f7ee503f06b59dbe1bd3a6ae818a33efb (diff)
downloadruby-ba22341854a344727fe002c635594e1a8d40e217.tar.gz
* lib/cgi/html.rb: Use << instead of +=.
`a += b` is syntax sugar of `a = a + b`; it creates a new string object. `a << b` is concatenation and doesn't create new object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/testunit/test_redefinition.rb')
0 files changed, 0 insertions, 0 deletions