Created
August 18, 2022 18:50
-
-
Save holdenhinkle/1ad56db7c03e9b3db9ba0b764175b910 to your computer and use it in GitHub Desktop.
generate a random on-call list
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
qas = %w[holden darius curt ryan1 ryan2 ryan3] | |
puts qas.delete(qas.sample) until qas.empty? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Output of first run: