summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-11 14:21:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-11 14:21:08 +0000
commitf2ded65a58f6fed573df3e33f5278796ea2bf26a (patch)
treeeccca5704ffb7bad53048ff3023505765aa6d330 /lib
parent7ba9ce8a7ee8eac00d8e7319b658eda765730d8b (diff)
* lib/optparse.rb (OptionParser::Arguable#getopts): pass self to the
parser. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/optparse.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/optparse.rb b/lib/optparse.rb
index f9f068b4c8..c79da48e01 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