Is there a simple function in ruby to create sequences? For example, I want a sequence from 1 to 100 incrementing by 3. So

Function(1,100,increment = 3) = [1,4,7,10, ...,97,100]

Thanks!

Edit
Report