values = ["Ace", "Two", "Three", "Four", "Five"] suits = ["Spades", "Clubs", "Hearts", "Diamonds"] for suit <- suits, value <- values do "#{value} of #{suit}" endcopy
values = ["Ace", "Two", "Three", "Four", "Five"] suits = ["Spades", "Clubs", "Hearts", "Diamonds"] for suit <- suits, value <- values do "#{value} of #{suit}" end