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 | 00db6e744aa5056a96670eb03d374e0f5936afef (patch) | |
tree | 1d320ec292b4853e6225851c41cf1d2419cc7dcb /lib/optparse.rb | |
parent | dbfcb1247b0615194c66a659c6a0caaf91236040 (diff) | |
download | ruby-00db6e744aa5056a96670eb03d374e0f5936afef.tar.gz ruby-00db6e744aa5056a96670eb03d374e0f5936afef.tar.xz ruby-00db6e744aa5056a96670eb03d374e0f5936afef.zip |
* lib/optparse.rb (OptionParser::Arguable#getopts): pass self to the
parser.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/optparse.rb')
-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 c00cda450..db7be04ae 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 |