From: Jonathan Nielsen Date: 2010-04-03T06:14:53+09:00 Subject: Re: combined ranges... > [1..20, 30..46].each{|n| >  # n = 1,2,3,4,5..30, 31, 32 > } Only thing that comes to mind for me is r1 = 1..20 r2 = 30..46 (r1.to_a + r2.to_a).each{|n| puts n} Probably not the best solution, but works... -Jonathan Nielsen