Haris Bogdanovi´┐? wrote:
> Hi.
> 
> Is there a short way of creating array of numbers
> with, for example, step of 10, like this:
> 
> 10,20,30,40,50

(10..50).step(10).to_a
-- 
Posted via http://www.ruby-forum.com/.