summaryrefslogtreecommitdiffstats
path: root/lib/pp.rb
diff options
context:
space:
mode:
authorryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-10 01:57:22 +0000
committerryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-10 01:57:22 +0000
commit4eb380d2d0687e68a31caf538093b98d77e0e8e1 (patch)
treef4926c381878079aca54585a0a8051ee4a305b42 /lib/pp.rb
parent217890307fadd6db105b95d6d495ec5f52ba446f (diff)
downloadruby-4eb380d2d0687e68a31caf538093b98d77e0e8e1.tar.gz
ruby-4eb380d2d0687e68a31caf538093b98d77e0e8e1.tar.xz
ruby-4eb380d2d0687e68a31caf538093b98d77e0e8e1.zip
Merged my changes from HEAD
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/pp.rb')
-rw-r--r--lib/pp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pp.rb b/lib/pp.rb
index 540320f62..8080d879f 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