ruby-changes:72662
From: Ka=C3=ADque <ko1@a...>
Date: Sun, 24 Jul 2022 08:57:27 +0900 (JST)
Subject: [ruby-changes:72662] 1cd487d785 (master): [DOC] IO#eof
https://git.ruby-lang.org/ruby.git/commit/?id=1cd487d785 From 1cd487d785a415c68be30498f5fbff33b9e5b7e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ka=C3=ADque=20Kandy=20Koga?= <kaiquekandykoga@g...> Date: Sat, 23 Jul 2022 20:47:40 -0300 Subject: [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) https://github.com/ruby/ruby/blob/trunk/io.c#L2484 * 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. * */ -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/