summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-10-02 01:56:51 +0000
committerktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-10-02 01:56:51 +0000
commit02e4428ec537211c28ae053ceac2e3442437f463 (patch)
treeae8e8feaa766cf7e68a29520800f300aea97b185 /io.c
parent7ee7892482c39d1ac5232ad1bc031e6d96654c7a (diff)
* io.c: fix documentation of ARGF.lineno=.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io.c b/io.c
index 6bade4547f..2ffe0aebf6 100644
--- a/io.c
+++ b/io.c
@@ -6767,7 +6767,7 @@ argf_initialize_copy(VALUE argf, VALUE orig)
/*
* call-seq:
- * ARGF.lineno = number -> nil
+ * ARGF.lineno = integer -> integer
*
* Sets the line number of +ARGF+ as a whole to the given +Integer+.
*
@@ -6780,7 +6780,7 @@ argf_initialize_copy(VALUE argf, VALUE orig)
* ARGF.lineno #=> 0
* ARGF.readline #=> "This is line 1\n"
* ARGF.lineno #=> 1
- * ARGF.lineno = 0 #=> nil
+ * ARGF.lineno = 0 #=> 0
* ARGF.lineno #=> 0
*/
static VALUE