From: "Jan E." Date: 2012-03-20T19:13:04+09:00 Subject: Re: Array product with nested arrays Hi, How is that different from the cartesion product of all subarrays? a = [["X", "Y"], ["E"], ["S", "T", "R"]] prod = a[0].product *a[1..-1] p prod -- Posted via http://www.ruby-forum.com/.