summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorKaĆ­que Kandy Koga <kaiquekandykoga@gmail.com>2022-07-23 20:47:40 -0300
committerJeremy Evans <code@jeremyevans.net>2022-07-23 16:57:09 -0700
commit1cd487d785a415c68be30498f5fbff33b9e5b7e6 (patch)
tree9226b68da9d52f8092072774ebac298b06b6aaa2 /io.c
parent721d154e2f81c65bd7f1bfd9eff6759b015b123e (diff)
downloadruby-1cd487d785a415c68be30498f5fbff33b9e5b7e6.tar.gz
[DOC] IO#eof
Use IO#eof? instead of I#eof?
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
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.
*
*/