Skip to content

Instantly share code, notes, and snippets.

@jarodreyes
Created October 12, 2016 20:54
Show Gist options
  • Save jarodreyes/61811c2006b1eaa523bcd75b9e2193ef to your computer and use it in GitHub Desktop.
Save jarodreyes/61811c2006b1eaa523bcd75b9e2193ef to your computer and use it in GitHub Desktop.
# 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