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:
parent
0abc28742a
commit
5eec9fe63c
|
@ -78,7 +78,7 @@ check_strio(self)
|
||||||
{
|
{
|
||||||
Check_Type(self, T_DATA);
|
Check_Type(self, T_DATA);
|
||||||
if (!IS_STRIO(self)) {
|
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)));
|
rb_class2name(CLASS_OF(self)));
|
||||||
}
|
}
|
||||||
return DATA_PTR(self);
|
return DATA_PTR(self);
|
||||||
|
|
Loading…
Reference in New Issue