Last active
August 29, 2015 14:05
-
-
Save hennevogel/05c2e0b6471488955985 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
roles = %w(participant admin organizer) | |
users = %w(hans fred fritz) | |
conferences = %w(osc13 dsp14 lala) | |
roles.each do |role| | |
users.each do |user| | |
conferences.each do |conf| | |
if role == "organizer" || role == 'admin' | |
puts "YO YO YO" | |
else | |
puts "#{user}.add_role #{role}, #{conf}" | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment