a = [0,1,2]a.each do |b| puts b if 1 == (b % 2) a << a.last + 1 endend
a = (0..2)
If you loved this and want more like it, sign up!
(you can learn about the bigger picture I'm working towards on my
Want more like this?