summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/io/wait/wait.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/ext/io/wait/wait.c b/ext/io/wait/wait.c
index 68d4bd5af7f..ce2841d410b 100644
--- a/ext/io/wait/wait.c
+++ b/ext/io/wait/wait.c
@@ -42,8 +42,7 @@ EXTERN struct timeval rb_time_interval _((VALUE time));
/*
* call-seq:
- *
- * io.ready? -> boolean
+ * io.ready? -> true, false or nil
*
* Returns non-nil if input available without blocking, or nil.
*/
@@ -81,9 +80,8 @@ wait_readable(VALUE p)
/*
* call-seq:
- *
- * io.wait -> io, true, false or nil
- * io.wait(timeout) -> io, true, false or nil
+ * io.wait -> IO, true, false or nil
+ * io.wait(timeout) -> IO, true, false or nil
*
* Waits until input is available or times out and returns self or nil when
* EOF is reached.