From c68698622021efa6cc5e70f082dba19885a6edb3 Mon Sep 17 00:00:00 2001 From: kazu Date: Wed, 27 Jun 2012 14:18:26 +0000 Subject: [PATCH] NotImplementError is not exist. * lib/racc/parser.rb: NotImplementError is not exist. * lib/irb/output-method.rb (IRB::OutputMethod#print): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 ++++++ lib/irb/output-method.rb | 2 +- lib/racc/parser.rb | 4 ---- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index ad0759df67..865a9b30d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Wed Jun 27 21:28:59 2012 Kazuhiro NISHIYAMA + + * lib/racc/parser.rb: NotImplementError is not exist. + + * lib/irb/output-method.rb (IRB::OutputMethod#print): ditto. + Wed Jun 27 21:31:13 2012 Nobuyoshi Nakada * class.c (rb_prepend_module): ancestors of prepending module also 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