Possible Duplicate:
Combination of two arrays in Ruby
Faces = "Two Three Four Five Six Seven Eight Nine Ten Jack Queen King Ace"
Suits = "Spades Clubs Hearts Diamonds"
Face = []
Face = Faces.split * 4
Suits.split
I am seeking to take the suits.split array and feed each suit 13 times into Face to create a 2D array that will look something like [["Two", "Spades"],["Three", "Spades"]... ["Ace", "Diamonds"]]
As posted in the question linked by Sunny, you’re looking for
product: