downto(min) {|n| ... } -> self[permalink][rdoc]downto(min) -> Enumerator-
self から min まで 1 ずつ減らしながらブロックを繰り返し実行します。 self < min であれば何もしません。
- [PARAM] min:
- 数値
- [RETURN]
- self を返します。
[SEE_ALSO] Integer#upto, Numeric#step, Integer#times
このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ
downto(min) {|n| ... } -> self[permalink][rdoc]downto(min) -> Enumeratorself から min まで 1 ずつ減らしながらブロックを繰り返し実行します。 self < min であれば何もしません。
[SEE_ALSO] Integer#upto, Numeric#step, Integer#times