Created
October 15, 2012 19:55
-
-
Save arn-e/3894892 to your computer and use it in GitHub Desktop.
hospital_framework
This file contains hidden or 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
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