* 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
This commit is contained in:
marcandre 2010-06-22 05:45:22 +00:00
Родитель 52ebd4b7f4
Коммит fde37bb6e3
1 изменённых файлов: 2 добавлений и 2 удалений

4
io.c
Просмотреть файл

@ -6660,7 +6660,7 @@ argf_initialize_copy(VALUE argf, VALUE orig)
* call-seq: * call-seq:
* ARGF.lineno = number -> nil * 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 * +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 * 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: * call-seq:
* ARGF.lineno -> integer * 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=+. * can be set manually with +ARGF.lineno=+.
* *
* For example: * For example: