From b1e77e85b62a981da439f1c99fe71ab510cb1fdf Mon Sep 17 00:00:00 2001 From: stomar Date: Sun, 29 Oct 2017 20:58:36 +0000 Subject: io.c: improve docs * io.c: [DOC] fix rdoc for some cross references; fix grammar. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'io.c') diff --git a/io.c b/io.c index aeae864511..ef0967eb73 100644 --- a/io.c +++ b/io.c @@ -3631,7 +3631,7 @@ static VALUE io_readlines(const struct getline_arg *arg, VALUE io); * f = File.new("testfile") * f.readlines[0] #=> "This is line one\n" * - * See IO.readlines for detail about getline_args. + * See IO.readlines for details about getline_args. */ static VALUE @@ -3685,7 +3685,7 @@ io_readlines(const struct getline_arg *arg, VALUE io) * 3: This is line three * 4: And so on... * - * See IO.readlines for detail about getline_args. + * See IO.readlines for details about getline_args. */ static VALUE @@ -8687,7 +8687,7 @@ rb_f_gets(int argc, VALUE *argv, VALUE recv) * The optional _limit_ argument specifies how many characters of each line * to return. By default all characters are returned. * - * See IO.readlines for detail about getline_args. + * See IO.readlines for details about getline_args. * */ static VALUE @@ -10226,8 +10226,8 @@ io_s_foreach(struct getline_arg *arg) * GOT And so on... * * If the last argument is a hash, it's the keyword argument to open. - * See IO.readlines for detail about getline_args. - * And see also IO.read for detail about open_args. + * See IO.readlines for details about getline_args. + * And see also IO.read for details about open_args. * */ @@ -10270,7 +10270,7 @@ io_s_readlines(struct getline_arg *arg) * * If the last argument is a hash, it's the keyword argument to open. * - * === Option for getline + * === Options for getline * * The options hash accepts the following keys: * @@ -10278,7 +10278,7 @@ io_s_readlines(struct getline_arg *arg) * Specifies the boolean. It will remove \n, \r, and \r\n * from the end of each lines if it's true * - * And see also IO.read for detail about open_args. + * And see also IO.read for details about open_args. * */ -- cgit v1.2.3