diff options
author | ktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-10-02 01:56:51 +0000 |
---|---|---|
committer | ktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-10-02 01:56:51 +0000 |
commit | 02e4428ec537211c28ae053ceac2e3442437f463 (patch) | |
tree | ae8e8feaa766cf7e68a29520800f300aea97b185 | |
parent | 7ee7892482c39d1ac5232ad1bc031e6d96654c7a (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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | io.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Sun Oct 2 10:44:01 2011 Kazuki Tsujimoto <kazuki@callcc.net> + + * io.c: fix documentation of ARGF.lineno=. + Sat Oct 1 20:03:19 2011 Nobuyoshi Nakada <nobu@ruby-lang.org> * lib/mkmf.rb (have_framework): try as Objective-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 |