From 554a78daabbfeb8d8a128d4600f1cc02287cdcd1 Mon Sep 17 00:00:00 2001 From: Burdette Lamar Date: Tue, 4 Nov 2025 17:57:25 -0600 Subject: [ruby/stringio] [DOC] Doc for StringIO.getc (https://github.com/ruby/stringio/pull/163) https://github.com/ruby/stringio/commit/a126fe252f --- ext/stringio/stringio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/stringio/stringio.c') diff --git a/ext/stringio/stringio.c b/ext/stringio/stringio.c index d66768a2c5..1ceda9dcf0 100644 --- a/ext/stringio/stringio.c +++ b/ext/stringio/stringio.c @@ -964,10 +964,10 @@ strio_each_byte(VALUE self) /* * call-seq: - * getc -> character or nil + * getc -> character, byte, or nil + * + * :include: stringio/getc.rdoc * - * Reads and returns the next character from the stream; - * see {Character IO}[rdoc-ref:IO@Character+IO]. */ static VALUE strio_getc(VALUE self) -- cgit v1.2.3