diff options
| author | Burdette Lamar <BurdetteLamar@Yahoo.com> | 2025-11-03 19:09:30 -0600 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-11-04 01:09:55 +0000 |
| commit | 15e64bd2e69899682a6dd62620c02a074a00498c (patch) | |
| tree | 0956316801d571e4b08bced1723f27bedc374633 /ext/stringio/stringio.c | |
| parent | 136157e772ab2b2ea08555d0ad821da7dc2bde96 (diff) | |
[ruby/stringio] [DOC] Doc for StringIO#gets
(https://github.com/ruby/stringio/pull/164)
https://github.com/ruby/stringio/commit/10e991e31d
Diffstat (limited to 'ext/stringio/stringio.c')
| -rw-r--r-- | ext/stringio/stringio.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/stringio/stringio.c b/ext/stringio/stringio.c index 5f8dc047e8..d66768a2c5 100644 --- a/ext/stringio/stringio.c +++ b/ext/stringio/stringio.c @@ -1428,9 +1428,8 @@ strio_getline(struct getline_arg *arg, struct StringIO *ptr) * gets(limit, chomp: false) -> string or nil * gets(sep, limit, chomp: false) -> string or nil * - * Reads and returns a line from the stream; - * assigns the return value to <tt>$_</tt>; - * see {Line IO}[rdoc-ref:IO@Line+IO]. + * :include: stringio/gets.rdoc + * */ static VALUE strio_gets(int argc, VALUE *argv, VALUE self) |
