From: Roger Pack Date: 2010-04-03T07:33:40+09:00 Subject: Re: combined ranges... David Springer wrote: > Will this work: > [1..20,30..46].each{|r| r.each {|n| p n}} Yeah that works. I guess if I need individual values in there (like 25) I can do [1..20, 25..25, 30..46].each{|r| r.each {|n| p n}} So that'll work. Thanks. -rp -- Posted via http://www.ruby-forum.com/.