class DoctorFinder::Doctor

The Doctor class

Attributes

areas[RW]
city[RW]
details[RW]
name[RW]
speciality[RW]
state[RW]
street[RW]
url[RW]
zip[RW]

Public Class Methods

all() click to toggle source
# File lib/doctor_finder/doctor.rb, line 14
def self.all
  @@all
end
clear() click to toggle source
# File lib/doctor_finder/doctor.rb, line 18
def self.clear
  @@all = []
end
new() click to toggle source
# File lib/doctor_finder/doctor.rb, line 10
def initialize
  @@all << self
end