diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/irb/output-method.rb | 2 | ||||
-rw-r--r-- | lib/racc/parser.rb | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/lib/irb/output-method.rb b/lib/irb/output-method.rb index 9cccda1c6a..7c0df935a9 100644 --- a/lib/irb/output-method.rb +++ b/lib/irb/output-method.rb @@ -19,7 +19,7 @@ module IRB @RCS_ID='-$Id$-' def print(*opts) - IRB.fail NotImplementError, "print" + IRB.fail NotImplementedError, "print" end def printn(*opts) diff --git a/lib/racc/parser.rb b/lib/racc/parser.rb index 737b0fda5d..e0b77f157e 100644 --- a/lib/racc/parser.rb +++ b/lib/racc/parser.rb @@ -11,10 +11,6 @@ # without restriction. # -unless defined?(NotImplementedError) - NotImplementedError = NotImplementError -end - module Racc class ParseError < StandardError; end end |