summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-28 18:27:50 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-28 18:27:50 +0000
commit75129a3608363be3c5f2562a5fafb08ac9ece836 (patch)
treeda7fce0d366eb497b51e5cbdd0dd836c4b149b65
parent04cd7cc62d8b16da8ccdff92f46e54e62ff26fab (diff)
better error message
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ext/digest/digest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/digest/digest.c b/ext/digest/digest.c
index c239be2..92a925c 100644
--- a/ext/digest/digest.c
+++ b/ext/digest/digest.c
@@ -435,7 +435,7 @@ get_digest_base_metadata(VALUE klass)
}
if (!p)
- rb_raise(rb_eRuntimeError, "Digest::Base cannot be inherited in Ruby");
+ rb_raise(rb_eRuntimeError, "Digest::Base cannot be directly inherited in Ruby");
Data_Get_Struct(obj, rb_digest_metadata_t, algo);