ruby-changes:57898
From: Nobuyoshi <ko1@a...>
Date: Wed, 25 Sep 2019 20:55:18 +0900 (JST)
Subject: [ruby-changes:57898] 5b1fd79ad9 (master): [DOC] fixed the return value of IO#ready? [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=5b1fd79ad9 From 5b1fd79ad90899adc71a1f34a722b26ba22a9c8a Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 25 Sep 2019 20:51:20 +0900 Subject: [DOC] fixed the return value of IO#ready? [ci skip] IO#ready? returns true or false only, since r50262(1baa57b0033). diff --git a/ext/io/wait/wait.c b/ext/io/wait/wait.c index f7a7508..d846bba 100644 --- a/ext/io/wait/wait.c +++ b/ext/io/wait/wait.c @@ -95,10 +95,9 @@ io_nread(VALUE io) https://github.com/ruby/ruby/blob/trunk/ext/io/wait/wait.c#L95 /* * 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/