From 3b239d2480123046a59a75f1089ab58d192b9c57 Mon Sep 17 00:00:00 2001 From: BurdetteLamar Date: Sun, 19 Feb 2023 20:16:04 +0000 Subject: Remove (newly unneeded) remarks about aliases --- io.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'io.c') 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 -- cgit v1.2.1