Skip to content

Instantly share code, notes, and snippets.

@arn-e
Created October 15, 2012 19:55
Show Gist options
  • Save arn-e/3894892 to your computer and use it in GitHub Desktop.
Save arn-e/3894892 to your computer and use it in GitHub Desktop.
hospital_framework
class Hospital
#name, location, number of employees
#number of patients
#login, show interface
#wait for user input
#present login menu
#accept credentials
#credentials are associated on a employee level
end
class Patient
end
class MenuInterface
def initialize
end
def show_menu
end
end
class Database
end
class Employee
end
class Doctor < Employee
end
class Janitor < Employee
end
class Receptionist < Employee
end
class Administrator < Employee
#only class capable of adding employees to the system
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment