Created
October 12, 2016 20:54
-
-
Save jarodreyes/61811c2006b1eaa523bcd75b9e2193ef 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
# save file | |
# open a console and type: | |
# ruby dads-night-scrambler.rb | |
dads = ['Bruno', 'Evan', 'Geoff', 'Dan', 'Spencer', 'David', 'Kashaka', 'John', 'Sean', 'Andrew', 'Nick', 'Jarod'] | |
puts dads.shuffle | |
# Example Output: | |
# John | |
# Andrew | |
# Bruno | |
# Geoff | |
# David | |
# Kashaka | |
# Evan | |
# Spencer | |
# Nick | |
# Dan | |
# Jarod | |
# Sean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment