[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, * With only integer argument +limit+ given,
* limits the number of bytes in each line; * 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 = File.new('t.txt')
* f.readlines(8) * f.readlines(8)