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

Merge from 1.7:

* lib/getoptlong.rb (GetoptLong::Error): provide a common ancestor
  for GetoptLong error classes (RCR#129).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2002-12-11 11:49:27 +00:00
parent ac7955d9fe
commit f79e4ca867
2 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,8 @@
Wed Dec 11 20:48:03 2002 Akinori MUSHA <knu@iDaemons.org>
* lib/getoptlong.rb (GetoptLong::Error): provide a common ancestor
for GetoptLong error classes (RCR#129).
Mon Dec 9 15:13:14 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* stable version 1.6.8 release candidate.

View file

@ -33,10 +33,11 @@ class GetoptLong
#
# Error types.
#
class AmbigousOption < StandardError; end
class NeedlessArgument < StandardError; end
class MissingArgument < StandardError; end
class InvalidOption < StandardError; end
class Error < StandardError; end
class AmbigousOption < Error; end
class NeedlessArgument < Error; end
class MissingArgument < Error; end
class InvalidOption < Error; end
#
# Initializer.