Created
June 16, 2015 01:02
-
-
Save jasonnoble/30524c5b10d8483b0707 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
suits = ['♠', '♥', '♦', '♣'] | |
ranks = (1..10).map(&:to_s) + ['J', 'Q', 'K', 'A'] | |
suits.each do |suit| | |
ranks.each do |rank| | |
# Make a card utilizing suit and rank | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment