From: Giovanni Intini Date: 2005-08-07T19:01:28+09:00 Subject: Re: cartesian product Remember that in Ruby you seldom have standalone functions. You should probably create a class that has the cartprod method.