aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorBurdetteLamar <burdettelamar@yahoo.com>2023-02-19 20:16:04 +0000
committerJeremy Evans <code@jeremyevans.net>2023-02-19 14:26:34 -0800
commit3b239d2480123046a59a75f1089ab58d192b9c57 (patch)
treea7015491da2508153db26251ad30ac39d6d8a6a8 /io.c
parent3d53827130e9f3792e80e9a947d5a0d604aa836b (diff)
downloadruby-3b239d2480123046a59a75f1089ab58d192b9c57.tar.gz
Remove (newly unneeded) remarks about aliases
Diffstat (limited to 'io.c')
-rw-r--r--io.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/io.c b/io.c
index fc554b4563..7b5c707884 100644
--- a/io.c
+++ b/io.c
@@ -2387,9 +2387,6 @@ rb_io_flush(VALUE io)
* f.close
*
* Related: IO#pos=, IO#seek.
- *
- * IO#pos is an alias for IO#tell.
- *
*/
static VALUE
@@ -2657,9 +2654,6 @@ io_fillbuf(rb_io_t *fptr)
* Note that this method reads data to the input byte buffer. So
* IO#sysread may not behave as you intend with IO#eof?, unless you
* call IO#rewind first (which is not available for some streams).
- *
- * IO#eof? is an alias for IO#eof.
- *
*/
VALUE
@@ -2850,8 +2844,6 @@ rb_io_fdatasync(VALUE io)
* File.open('t.txt').fileno # => 10
* f.close
*
- * IO#to_i is an alias for IO#fileno.
- *
*/
static VALUE
@@ -4574,9 +4566,6 @@ io_readlines(const struct getline_arg *arg, VALUE io)
* "Fifth line"
*
* Returns an Enumerator if no block is given.
- *
- * IO#each is an alias for IO#each_line.
- *
*/
static VALUE
@@ -5200,8 +5189,6 @@ rb_io_ungetc(VALUE io, VALUE c)
* f = File.new('/dev/tty').isatty #=> true
* f.close
*
- * IO#tty? is an alias for IO#isatty.
- *
*/
static VALUE