Skip to content

Instantly share code, notes, and snippets.

@zyriuse75
Created October 3, 2017 15:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zyriuse75/7a467a37e2ee918dc9115ec23de9862a to your computer and use it in GitHub Desktop.
Save zyriuse75/7a467a37e2ee918dc9115ec23de9862a to your computer and use it in GitHub Desktop.
class Application
# To change this template use File | Settings | File Templates.
def initialize
mainMenu
end
def mainMenu
puts "What would you like to do?
1: Add module to a scheme
2: Remove module from a scheme
3: Query modules
4: Modify module
5: Register a student on a scheme
6: Remove a student from a scheme
7: Register a student on a module
8: Remove a student from a module"
case
when "1"
puts "you chose option 1 "
when "2"
puts "you chose option2"
end
end
Application.new
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment