summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-28 02:31:34 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-28 02:31:34 +0000
commit6322272ceabcb84d41404d968f79963421f22098 (patch)
treee9369b88f73c06eaf012c4ea0479ec1a9d31ecee
parent6e83a71d3bb260cf2e02cd88e6a6f72fab50e910 (diff)
Fix call-seq in RDoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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.