diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-11 14:21:08 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-11 14:21:08 +0000 |
commit | 3a1f31129e4f63397937c3d40a5139826d2e553f (patch) | |
tree | 1d320ec292b4853e6225851c41cf1d2419cc7dcb /lib | |
parent | 1c2b8571eedc9774624d28ac4323f11809f23b5c (diff) |
* lib/optparse.rb (OptionParser::Arguable#getopts): pass self to the
parser.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/optparse.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/optparse.rb b/lib/optparse.rb index c00cda4506..db7be04ae7 100644 --- a/lib/optparse.rb +++ b/lib/optparse.rb @@ -1833,7 +1833,7 @@ Extends command line arguments array to parse itself. end =end #'#"#`# def getopts(*args) - options.getopts(*args) + options.getopts(self, *args) end =begin private |