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

ruby-reference-manual:951

From: Anonymous <redmine@r...>
Date: Tue, 17 Jun 2008 10:52:13 +0900
Subject: [ruby-reference-manual:951] [ReferenceManualRenewalProject - Bug #135] Complex.new の説明

チケット #135 が更新されました。 (by Anonymous)


実行例の二行目に
 p Complex.new(3.5)    #=> Complex(3.5, 0)
とありますが,これだと
 ArgumentError: wrong number of arguments (1 for 2)
になります。
new は new! の間違いではないでしょうか。
----------------------------------------
http://redmine.ruby-lang.org/issues/show/135

----------------------------------------
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/

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

       910 2008-06-10 06:42 [redmine@r...        ] [ReferenceManualRenewalProject - Bug #135] (Open) Complex.new の説明
       947 2008-06-16 16:32 ┣[redmine@r...        ] [ReferenceManualRenewalProject - Bug #135] Complex.new の説明
->     951 2008-06-17 03:52 ┣[redmine@r...        ] [ReferenceManualRenewalProject - Bug #135] Complex.new の説明
       956 2008-06-17 15:37 ┣[redmine@r...        ] [ReferenceManualRenewalProject - Bug #135] (Closed) Complex.new の説明
       957 2008-06-17 15:39 ┗[redmine@r...        ] [ReferenceManualRenewalProject - Bug #135] (Assigned) Complex.new の説明