Bug #2492
Date#step, upto, downto でブロック与えないとき
| 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 メソッド間の参照を追加しました。
Associated revisions
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.