Will this work:
[1..20,30..46].each{|r| r.each {|n| p n}}

David
-- 
Posted via http://www.ruby-forum.com/.