>>957
Rubyでは普通は Range#step を使う
(0..100).step(5) {|i| puts i }

この場合は、Integer#step(limit, step) {|n| ... } も使えるけど。