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 | c90c44b1d327592f16520555f1f6480dc90df1f4 (patch) | |
| tree | eccca5704ffb7bad53048ff3023505765aa6d330 /lib | |
| parent | b6e8e4507d15154a7b078a7f67ca2f2ac8454202 (diff) | |
| download | ruby-c90c44b1d327592f16520555f1f6480dc90df1f4.tar.gz ruby-c90c44b1d327592f16520555f1f6480dc90df1f4.tar.xz ruby-c90c44b1d327592f16520555f1f6480dc90df1f4.zip | |
* lib/optparse.rb (OptionParser::Arguable#getopts): pass self to the
parser.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@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 f9f068b4c..c79da48e0 100644 --- a/lib/optparse.rb +++ b/lib/optparse.rb @@ -1877,7 +1877,7 @@ Extends command line arguments array to parse itself. end =end #'#"#`# def getopts(*args) - options.getopts(*args) + options.getopts(self, *args) end =begin private |
