ruby-cvs:19417
From: nobu ruby-lang.org
Date: Mon, 16 Apr 2007 17:07:22 +0900 (JST)
Subject: [ruby-cvs:19417] Ruby:r12181: * lib/optparse.rb (make_switch): do not clobber converter if pattern
nobu 2007-04-16 17:07:20 +0900 (Mon, 16 Apr 2007)
New Revision: 12181
Modified files:
branches/ruby_1_8/ChangeLog
branches/ruby_1_8/lib/optparse.rb
trunk/ChangeLog
trunk/lib/optparse.rb
Log:
* lib/optparse.rb (make_switch): do not clobber converter if pattern
has no convert method. reported by sheepman in [ruby-dev:30709].
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?r1=12181&r2=12180
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=12181&r2=12180
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/optparse.rb?r1=12181&r2=12180
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/lib/optparse.rb?r1=12181&r2=12180