summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 3ac591a..1d3677a 100644
--- a/io.c
+++ b/io.c
@@ -12078,7 +12078,7 @@ rb_readwrite_sys_fail(int writable, const char *mesg)
* Example:
*
* require 'io/console'
- * rows, columns = $stdin.winsize
+ * rows, columns = $stdout.winsize
* puts "Your screen is #{columns} wide and #{rows} tall"
*/