Array#product for Ruby 1.8


/ Published in: Ruby
Save to your folder(s)

Returns the cartesian product of the receiver and the arrays given as arguments.

URL: http://weblog.metareal.org/2008/02/16/array-product-for-ruby-1-8/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.