From: Mitko Kostov Date: 2008-11-04T01:10:28+09:00 Subject: Re: Help with iterating nested arrays Jes炭s Gabriel y Gal叩n wrote: > irb(main):008:0> arr = [["John", "Daniel", "Marry"],["Having > launch","Sleeping","Bored"]] > => [["John", "Daniel", "Marry"], ["Having launch", "Sleeping", "Bored"]] > irb(main):009:0> arr[0].zip(arr[1]).each {|name,action| p "#{name} is > #{action}"} > "John is Having launch" > "Daniel is Sleeping" > "Marry is Bored" > > I think in Shoes you can do this loop creating paras using both > elements. > > Jesus. Thanks, dude. It works great. -- Posted via http://www.ruby-forum.com/.