[ruby/stringio] Remove (newly unneeded) remarks about aliases

https://github.com/ruby/stringio/commit/60bb320477
This commit is contained in:
BurdetteLamar 2023-02-19 22:27:41 +00:00 коммит произвёл git
Родитель f94e83faa0
Коммит d3ee9e590c
1 изменённых файлов: 0 добавлений и 6 удалений

Просмотреть файл

@ -685,8 +685,6 @@ strio_to_read(VALUE self)
* see {Position}[rdoc-ref:File@Position]. * see {Position}[rdoc-ref:File@Position].
* *
* Raises IOError if the stream is not opened for reading. * Raises IOError if the stream is not opened for reading.
*
* StreamIO#eof is an alias for StreamIO#eof?.
*/ */
static VALUE static VALUE
strio_eof(VALUE self) strio_eof(VALUE self)
@ -808,8 +806,6 @@ strio_reopen(int argc, VALUE *argv, VALUE self)
* *
* Returns the current position (in bytes); * Returns the current position (in bytes);
* see {Position}[rdoc-ref:IO@Position]. * see {Position}[rdoc-ref:IO@Position].
*
* StringIO#tell is an alias for StringIO#pos.
*/ */
static VALUE static VALUE
strio_get_pos(VALUE self) strio_get_pos(VALUE self)
@ -1420,8 +1416,6 @@ strio_readline(int argc, VALUE *argv, VALUE self)
* does nothing if already at end-of-file; * does nothing if already at end-of-file;
* returns +self+. * returns +self+.
* See {Line IO}[rdoc-ref:IO@Line+IO]. * See {Line IO}[rdoc-ref:IO@Line+IO].
*
* StringIO#each is an alias for StringIO#each_line.
*/ */
static VALUE static VALUE
strio_each(int argc, VALUE *argv, VALUE self) strio_each(int argc, VALUE *argv, VALUE self)