From 1cd487d785a415c68be30498f5fbff33b9e5b7e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ka=C3=ADque=20Kandy=20Koga?= Date: Sat, 23 Jul 2022 20:47:40 -0300 Subject: [PATCH] [DOC] IO#eof Use IO#eof? instead of I#eof? --- io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.c b/io.c index a39ab74a4d..34ccf24977 100644 --- a/io.c +++ b/io.c @@ -2484,7 +2484,7 @@ io_fillbuf(rb_io_t *fptr) * IO#sysread may not behave as you intend with IO#eof?, unless you * call IO#rewind first (which is not available for some streams). * - * I#eof? is an alias for IO#eof. + * IO#eof? is an alias for IO#eof. * */