Skip to content

Instantly share code, notes, and snippets.

@Hoverbear
Created August 28, 2013 21:13
Show Gist options
  • Save Hoverbear/6371375 to your computer and use it in GitHub Desktop.
Save Hoverbear/6371375 to your computer and use it in GitHub Desktop.
block = []
switch req.workshop.session
# Block 1
when 1
block = [1, 2, 3]
when 2
block = [1, 2]
when 3
block = [1, 3]
# Block 2
when 4
block = [4, 5, 6]
when 5
block = [4, 5]
when 6
block = [4, 6]
# Block 3
when 7
block = [7, 8, 9]
when 8
block = [7, 8]
when 9
block = [7, 9]
# Block 4
when 10
block = [10, 11, 12]
when 11
block = [10, 11]
when 12
block = [10, 12]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment