I would like to get a range of numbers but only by 5. Is there method for this? Perhaps something like: (0..100).by(5)
(I feel like I've seen this done somewhere...)
I know I can do this: (0..100).select{|x| x if x % 5 == 0}
Can you suggest alternatives?