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

ruby-reference-manual:958

From: Yutaka HARA <redmine@r...>
Date: Wed, 18 Jun 2008 14:57:46 +0900
Subject: [ruby-reference-manual:958] [ReferenceManualRenewalProject - Feature #180] (Open) Array.new(size) {|index| ... } に例を追加する

チケット #180 が報告されました。 (by Yutaka HARA)

----------------------------------------
Feature #180: Array.new(size) {|index| ... } に例を追加する
http://redmine.ruby-lang.org/issues/show/180

起票者: Yutaka HARA
ステータス: Open
優先度: Normal
担当者: 
カテゴリ: doc
Target version: 
reporter: matsue
ruby_version: 


イテレータ変数を使った例を追加した方が良い。
 ---
 Array.new(3){|index| "hoge#{index}"}
 => ["hoge0", "hoge1", "hoge2"]
 ---


----------------------------------------
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://redmine.ruby-lang.org/my/account

--
ML: ruby-reference-manual@m...
使い方: http://QuickML.com/

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

->     958 2008-06-18 07:57 [redmine@r...        ] [ReferenceManualRenewalProject - Feature #180] (Open) Array.new(size) {|index| ... } に例を追加する
      1056 2008-07-12 03:50 ┣[redmine@r...        ] [ReferenceManualRenewalProject - Feature #180] Array.new(size) {|index| ... } に例を追加する
      1063 2008-07-12 04:27 ┗[redmine@r...        ] [ReferenceManualRenewalProject - Feature #180] (Closed) Array.new(size) {|index| ... } に例を追加する