nagachika
2bc4268e79
* test/optparse/test_summary.rb (test_summary_containing_space): add
...
test for r35467. OptionParser#to_a shouldn't split banner by spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-25 16:36:14 +00:00
nobu
3c2f707f16
* lib/optparse.rb (OptionParser#to_a): split for each lines.
...
[ruby-dev:45568][Bug #6348 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-24 20:46:14 +00:00
nobu
4f2b00429e
* lib/optparse.rb (OptionParser#to_a): should split by end-of-line
...
[ruby-dev:45568][Bug #6348 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-24 06:51:44 +00:00
nobu
a9917efd5d
* lib/optparse.rb (OptionParser#to_a): String#to_a is no longer
...
defined. [ruby-dev:45568][Bug #6348 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-24 05:54:08 +00:00
nobu
85a4f84e79
* test/optparse/test_summary.rb: fixed superclass so that it run
...
solely.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-22 12:33:33 +00:00
nobu
0a23fe6572
* lib/optparse.rb (OptionParser::List#summarize): gives priority
...
to latter switches. [ruby-dev:36692]
* lib/optparse.rb (OptionParser#summarize): do not append
unnecessary line terminator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-26 06:50:55 +00:00