mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 20:44:20 +00: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
@ -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…
x
Reference in New Issue
Block a user