From 09ac765b2f9e915ab5dead8c3b21aa5eb8748f62 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 10 Jul 2006 01:57:22 +0000 Subject: Merged my changes from HEAD git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/pp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/pp.rb') diff --git a/lib/pp.rb b/lib/pp.rb index 540320f626..8080d879f9 100644 --- a/lib/pp.rb +++ b/lib/pp.rb @@ -290,7 +290,7 @@ class PP < PrettyPrint # implement #pretty_print, or a RuntimeError will be raised. def pretty_print_inspect if /\(PP::ObjectMixin\)#/ =~ method(:pretty_print).inspect - raise "pretty_print is not overridden." + raise "pretty_print is not overridden for #{self.class}" end PP.singleline_pp(self, '') end -- cgit v1.2.3