summaryrefslogtreecommitdiff
path: root/ext/io
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-25 20:51:20 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-25 20:54:33 +0900
commit5b1fd79ad90899adc71a1f34a722b26ba22a9c8a (patch)
treec7ccd5d8b737aa69f6cceca68867a43b62388f02 /ext/io
parent6d578164f5da815fb71d23ad186e841359384f25 (diff)
[DOC] fixed the return value of IO#ready? [ci skip]
IO#ready? returns true or false only, since r50262(1baa57b0033).
Diffstat (limited to 'ext/io')
-rw-r--r--ext/io/wait/wait.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/io/wait/wait.c b/ext/io/wait/wait.c
index f7a7508eeb5..d846bba49ee 100644
--- a/ext/io/wait/wait.c
+++ b/ext/io/wait/wait.c
@@ -95,10 +95,9 @@ io_nread(VALUE io)
/*
* call-seq:
- * io.ready? -> true, false or nil
+ * io.ready? -> true or false
*
* Returns true if input available without blocking, or false.
- * Returns nil if no information available.
*/
static VALUE