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

String::IO -> StringIO

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2004-11-27 13:33:34 +00:00
parent 0abc28742a
commit 5eec9fe63c

View file

@ -78,7 +78,7 @@ check_strio(self)
{
Check_Type(self, T_DATA);
if (!IS_STRIO(self)) {
rb_raise(rb_eTypeError, "wrong argument type %s (expected String::IO)",
rb_raise(rb_eTypeError, "wrong argument type %s (expected StringIO)",
rb_class2name(CLASS_OF(self)));
}
return DATA_PTR(self);