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:
parent
04cd7cc62d
commit
75129a3608
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue