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

ruby-changes:16398

From: marcandre <ko1@a...>
Date: Tue, 22 Jun 2010 15:07:15 +0900 (JST)
Subject: [ruby-changes:16398] Ruby:r28383 (ruby_1_9_2): merge from trunk (28381)

marcandre	2010-06-22 15:06:34 +0900 (Tue, 22 Jun 2010)

  New Revision: 28383

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

  Log:
    merge from trunk (28381)
    
    * io.c: rdoc fix for ARGF.lineno; see [ruby-core:29048]

  Modified files:
    branches/ruby_1_9_2/io.c

Index: ruby_1_9_2/io.c
===================================================================
--- ruby_1_9_2/io.c	(revision 28382)
+++ ruby_1_9_2/io.c	(revision 28383)
@@ -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/

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