1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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:
nobu 2004-07-15 14:54:01 +00:00
parent 068b58b5e8
commit 4a56a0ef5d
2 changed files with 13 additions and 8 deletions

View file

@ -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,

View file

@ -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