summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-22 05:45:22 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-22 05:45:22 +0000
commitfde37bb6e3adec8591a82798d4d2e008cee51c57 (patch)
treebf06d930325bc5dd56692a23ef5d20cff490adc2
parent52ebd4b7f48a443152bf09343d81f57e783c0c63 (diff)
* io.c: rdoc fix for ARGF.lineno; cf. [ruby-core:29048]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io.c b/io.c
index f09d0d273b..d231e1317c 100644
--- a/io.c
+++ b/io.c
@@ -6660,7 +6660,7 @@ argf_initialize_copy(VALUE argf, VALUE orig)
* call-seq:
* ARGF.lineno = number -> nil
*
- * Sets the line number of the current file in +ARGF+ to the given +Integer+.
+ * Sets the line number of +ARGF+ as a whole to the given +Integer+.
*
* +ARGF+ sets the line number automatically as you read data, so normally
* you will not need to set it explicitly. To access the current line number
@@ -6686,7 +6686,7 @@ argf_set_lineno(VALUE argf, VALUE val)
* call-seq:
* ARGF.lineno -> integer
*
- * Returns the current line number of the current file in +ARGF+. This value
+ * Returns the current line number of ARGF as a whole. This value
* can be set manually with +ARGF.lineno=+.
*
* For example: