зеркало из https://github.com/github/ruby.git
* lib/optparse.rb (OptionParser#warn, OptionParser#abort): Exception
no longer has to_str method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
068b58b5e8
Коммит
4a56a0ef5d
|
@ -1,3 +1,8 @@
|
|||
Thu Jul 15 23:53:38 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/optparse.rb (OptionParser#warn, OptionParser#abort): Exception
|
||||
no longer has to_str method.
|
||||
|
||||
Thu Jul 15 22:59:48 2004 Shugo Maeda <shugo@ruby-lang.org>
|
||||
|
||||
* ext/readline/extconf.rb: added dir_config for curses, ncurses,
|
||||
|
|
|
@ -923,11 +923,11 @@ class OptionParser
|
|||
end
|
||||
|
||||
def warn(mesg = $!)
|
||||
super(program_name + ': ' + mesg)
|
||||
super("#{program_name}: #{mesg}")
|
||||
end
|
||||
|
||||
def abort(mesg = $!)
|
||||
super(program_name + ': ' + mesg)
|
||||
super("#{program_name}: #{mesg}")
|
||||
end
|
||||
|
||||
=begin
|
||||
|
|
Загрузка…
Ссылка в новой задаче