1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

better error message

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2007-02-28 18:27:50 +00:00
parent 04cd7cc62d
commit 75129a3608

View file

@ -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);