re-introduce exercise description exercise split

This commit is contained in:
Ralf Teusner
2018-07-18 09:34:25 +02:00
parent 1627d10600
commit d971382b5b
2 changed files with 38 additions and 8 deletions

View File

@ -31,4 +31,18 @@ class UserGroupSeparator
:recommended_assignment
end
end
def self.getGroupExerciseDescriptionTesting(user)
groupById = user.id % 4
if groupById == 0
:group_a
elsif groupById == 1
:group_b
elsif groupById == 2
:group_c
else # 3
:group_d
end
end
end