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

ruby-reference-manual:2958

From: Ippei Obayashi <redmine@r...>
Date: Tue, 20 Dec 2011 10:51:47 +0900
Subject: [ruby-reference-manual:2958] [るりまプロジェクト - Bug #3122][Closed] IO#each, IO#each_line, IO#lines


Issue #3122 has been updated by Ippei Obayashi.

Status changed from Open to Closed

r4944 で更新 (see #5722)
----------------------------------------
Bug #3122: IO#each, IO#each_line, IO#lines
https://bugs.ruby-lang.org/issues/3122

Author: Kazuhiro NISHIYAMA
Status: Closed
Priority: Normal
Assignee: Takashi Tamura
Category: doc
Target version: 
reporter: 
ruby_version: 1.9


=begin
 ruby trunk (r27265で確認) の rdoc には

  *     ios.each(sep=$/) {|line| block }         => ios
  *     ios.each(limit) {|line| block }          => ios
  *     ios.each(sep,limit) {|line| block }      => ios
  *     ios.each(...)                            => anEnumerator
 のように IO#each(sep=$/) 以外に IO#each(limit) と IO#each(sep,limit) がありますが、
 るりまの方には IO#each(rs = $/)  しか書かれていないようです。
=end



-- 
http://redmine.ruby-lang.org

--
ML: ruby-reference-manual@m...
Info: http://QuickML.com/

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