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

update NotImplementError to NotImplementedError.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2003-03-23 17:58:57 +00:00
parent 0b7b4c775d
commit e5282ef182
6 changed files with 6 additions and 11 deletions

View file

@ -2302,10 +2302,10 @@ end
module TkTreatItemFont
def __conf_cmd(idx)
raise NotImplementError, "need to define `__conf_cmd'"
raise NotImplementedError, "need to define `__conf_cmd'"
end
def __item_pathname(tagOrId)
raise NotImplementError, "need to define `__item_pathname'"
raise NotImplementedError, "need to define `__item_pathname'"
end
private :__conf_cmd, :__item_pathname

View file

@ -48,7 +48,7 @@ class Delegator
end
def __getobj__
raise NotImplementError, "need to define `__getobj__'"
raise NotImplementedError, "need to define `__getobj__'"
end
end

View file

@ -28,7 +28,7 @@ module IRB
attr_accessor :prompt
def gets
IRB.fail NotImplementError, "gets"
IRB.fail NotImplementedError, "gets"
end
public :gets

View file

@ -16,7 +16,7 @@ module IRB
# exceptions
extend Exception2MessageMapper
def_exception :UnrecognizedSwitch, "Unrecognized switch: %s"
def_exception :NotImplementError, "Need to define `%s'"
def_exception :NotImplementedError, "Need to define `%s'"
def_exception :CantReturnToNormalMode, "Can't return to normal mode."
def_exception :IllegalParameter, "Illegal parameter(%s)."
def_exception :IrbAlreadyDead, "Irb is already dead."

View file

@ -15,7 +15,7 @@ module IRB
# exceptions
extend Exception2MessageMapper
def_exception :UnrecognizedSwitch, '$B%9%$%C%A(B(%s)$B$,J,$j$^$;$s(B'
def_exception :NotImplementError, '`%s\'$B$NDj5A$,I,MW$G$9(B'
def_exception :NotImplementedError, '`%s\'$B$NDj5A$,I,MW$G$9(B'
def_exception :CantReturnToNormalMode, 'Normal$B%b!<%I$KLa$l$^$;$s(B.'
def_exception :IllegalParameter, '$B%Q%i%a!<%?(B(%s)$B$,4V0c$C$F$$$^$9(B.'
def_exception :IrbAlreadyDead, 'Irb$B$O4{$K;`$s$G$$$^$9(B.'

View file

@ -13,11 +13,6 @@
# $Id$
#
unless defined? NotImplementedError then
NotImplementedError = NotImplementError
end
module Racc
class ParseError < StandardError; end
end