[ruby-cvs:62391] nobu:r55228 (trunk): optparse.rb: fix char class option

nobu at ruby-lang.org nobu at ruby-lang.org
Tue May 31 17:28:48 JST 2016


nobu	2016-05-31 17:28:48 +0900 (Tue, 31 May 2016)

  New Revision: 55228

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55228

  Log:
    optparse.rb: fix char class option
    
    * lib/optparse.rb (OptionParser::Completion.candidate): get rid of
      nil as key names.  [ruby-core:75773] [Bug #12438]
    * lib/optparse.rb (OptionParser#make_switch): char class option
      cannot be NoArgument, default to RequiredArgument.

  Added files:
    trunk/test/optparse/test_cclass.rb
  Modified files:
    trunk/ChangeLog
    trunk/lib/optparse.rb


More information about the ruby-cvs mailing list