>>> a1 = %w{a b c}
> => ["a", "b", "c"]
>>> a2 = %w{1 2 3}
> => ["1", "2", "3"]
>>> a1.map {|c1| a2.map {|c2| c1 + c2} }.flatten
> => ["a1", "a2", "a3", "b1", "b2", "b3", "c1", "c2", "c3]

That's it!  Thank you!

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