[前][次][番号順一覧][スレッド一覧]

ruby-changes:16396

From: marcandre <ko1@a...>
Date: Tue, 22 Jun 2010 14:45:44 +0900 (JST)
Subject: [ruby-changes:16396] Ruby:r28381 (trunk): * io.c: rdoc fix for ARGF.lineno; cf.

marcandre	2010-06-22 14:45:22 +0900 (Tue, 22 Jun 2010)

  New Revision: 28381

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=28381

  Log:
    * io.c: rdoc fix for ARGF.lineno; cf. [ruby-core:29048]

  Modified files:
    trunk/io.c

Index: io.c
===================================================================
--- io.c	(revision 28380)
+++ io.c	(revision 28381)
@@ -6660,7 +6660,7 @@
  *  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 @@
  *  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:

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]