1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[DOC] Fix typo in documentation for IO#readlines

This commit is contained in:
Peter Zhu 2022-07-14 16:37:47 -04:00
parent 4813443837
commit c8748942f1

2
io.c
View file

@ -4207,7 +4207,7 @@ static VALUE io_readlines(const struct getline_arg *arg, VALUE io);
*
* With only integer argument +limit+ given,
* limits the number of bytes in each line;
* see {Line Limit}}[rdoc-ref:IO@Line+Limit]:
* see {Line Limit}[rdoc-ref:IO@Line+Limit]:
*
* f = File.new('t.txt')
* f.readlines(8)