From: "Sébastien M." Date: 2011-12-12T02:20:05+09:00 Subject: Re: Removing a multiple array layer ok resolved it forgot the use of the star operator.... def calculate ranges prod = ranges.shift.product(*ranges) puts prod.to_s end -- Posted via http://www.ruby-forum.com/.