diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-30 08:11:21 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-30 08:11:21 +0000 |
commit | 2dfcce063685b06f0ca03781d09b50c252c43a09 (patch) | |
tree | d65108148b9b5f5413149a31517bbdc72d952fb2 /string.c | |
parent | 8114e42aa1e721a8f51e9f2601edb182eabbec32 (diff) | |
download | ruby-2dfcce063685b06f0ca03781d09b50c252c43a09.tar.gz ruby-2dfcce063685b06f0ca03781d09b50c252c43a09.tar.xz ruby-2dfcce063685b06f0ca03781d09b50c252c43a09.zip |
* lib/optparse.rb (OptionParser::Switch::PlacedArgument): added.
if the next argument doesn't start with '-', use it as the
value.
* lib/optparse.rb (OptionParser::make_switch): fixed a bug of
pattern.
* lib/optparse.rb (Array): no need to guard.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
0 files changed, 0 insertions, 0 deletions