From 2bf2f48a0be06e57d596968358ff60f57e488b0d Mon Sep 17 00:00:00 2001 From: ryan Date: Sat, 8 Jul 2006 23:17:53 +0000 Subject: cached rdoc diagrams, private rdoc comments, minor clarifications in debug.rb and pp.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10491 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 266949e22b..bc61484148 100644 --- a/lib/pp.rb +++ b/lib/pp.rb @@ -318,7 +318,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