Created
September 3, 2019 23:57
-
-
Save SamSaffron/05b7798cb1da27e68364ec4406326963 to your computer and use it in GitHub Desktop.
This file contains 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
staff = %w{ | |
JeffA | |
Robin | |
Sam | |
Neil | |
Regis | |
Arpit | |
Falco | |
Blake | |
Joffrey | |
Hawk | |
Michael | |
Josh | |
Gerhard | |
Andrew | |
Vinoth | |
Simon | |
JeffW | |
Gen | |
David | |
Rishabh | |
Bianca | |
Penar | |
Saj | |
Dan | |
Taylor | |
Roman | |
Justin | |
Daniel | |
Jarek | |
} | |
i = 0 | |
staff.shuffle.each_slice(10) do |slice| | |
puts "" | |
puts "Group #{i}" | |
i += 1 | |
slice.each do |u| | |
puts u | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment