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
1 changed files with 1 additions and 1 deletions

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