diff options
-rw-r--r-- | ext/stringio/stringio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/stringio/stringio.c b/ext/stringio/stringio.c index 04c02aef9a..4d960c4ea3 100644 --- a/ext/stringio/stringio.c +++ b/ext/stringio/stringio.c @@ -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); |