Project

General

Profile

« Previous | Next » 

Revision e82df08b

Added by nobu (Nobuyoshi Nakada) over 9 years ago

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