Skip to content

Instantly share code, notes, and snippets.

@BrianJoyce
Created October 22, 2012 02:22
Show Gist options
  • Save BrianJoyce/3929294 to your computer and use it in GitHub Desktop.
Save BrianJoyce/3929294 to your computer and use it in GitHub Desktop.
doctor
require 'pry'
require_relative 'employee.rb'
class Doctor < Employee
def initialize(name, birthdate, gender)
super(name, birthdate, gender)
@salary = 200_000
@title = "Dotor"
@tasks = "Diagnose Patients, Prescribe Medicine"
@permissions = "High Level"
end
def list_paitients(hospital)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment