diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-31 08:26:30 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-31 08:26:30 +0000 |
commit | d7a9c936a6e521f87624a7fe4a62d569166386d0 (patch) | |
tree | 3ba5fc8079cec173fd6b7e178885792fc97cc738 /test/optparse | |
parent | 09574affe5e3e8535631834a105292f90d0eb539 (diff) | |
download | ruby-d7a9c936a6e521f87624a7fe4a62d569166386d0.tar.gz |
optparse.rb: no duplicate strings
* lib/optparse.rb (OptionParser#parse_in_order): get rid of making
duplicate strings; $1 and others make a new string each times.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/optparse')
0 files changed, 0 insertions, 0 deletions