mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
7ba9ce8a7e
commit
f2ded65a58
2 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,10 @@
|
|||
Sun Jun 11 23:16:00 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Sun Jun 11 23:20:07 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* object.c (sym_call): disallow to call private methods.
|
||||
|
||||
* lib/optparse.rb (OptionParser::Arguable#getopts): pass self to the
|
||||
parser.
|
||||
|
||||
Sun Jun 11 09:56:41 2006 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* win32/win32.h (write): not need to define on bcc.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue