"Seo ji won" <skidrow / nownuri.net> writes: > but what I want to do is something like this ( sorry, in python semantics, > functions, ;-) > > for i in range(0,100,5): > print i > > but I want to know exactly same way as to range(beg,end,step) Use "step": 0.step(100, 5) { |i| puts i } > p.s) How can I find such things?.. I've tried language/library reference, > but in vain. It's in the reference on Integer types: http://www.rubycentral.com/book/ref_c_integer.html -- Chris