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:
parent
0abc28742a
commit
5eec9fe63c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue