Bug #2492

Date#step, upto, downto でブロック与えないとき

Added by 5 5 about 2 years ago. Updated 10 months ago.

[ruby-reference-manual:1924]
Status:Closed Start date:12/18/2009
Priority:Low Due date:
Assignee:- % Done:

100%

Category:doc
Target version:-
reporter: ruby_version:1.8.8, 1.9

Description

Date#step, upto, downto でブロックを与えないとき(1.8.8 以降)の
メソッドシグニチャが
 step(limit, step = 1) {|date| ...} -> Enumerator
などとなっていますが,ブロックが書かれているのはおかしいと思います。
パッチ添付します。
ついでにこの 3 メソッド間の参照を追加しました。

date-step-etc.patch (1.5 kB) 5 5, 12/18/2009 02:46 pm

Associated revisions

Revision 4180
Added by okkez over 1 year ago

fix method signature (close #2492)

History

Updated by okkez _ over 1 year ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100
This issue was solved with changeset r4180.
5, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

Also available in: Atom PDF