Class: Paciente

Inherits:
Individuo show all
Defined in:
lib/gema/paciente.rb

Overview

Paciente de una consulta

Direct Known Subclasses

Paciente_obeso

Instance Method Summary collapse

Methods inherited from Individuo

#to_s

Constructor Details

#initialize(nombre, edad, genero) ⇒ Paciente

Returns a new instance of Paciente.



5
6
7
8
# File 'lib/gema/paciente.rb', line 5

def initialize(nombre,edad,genero)
	super(nombre,edad,genero)
	@valoracion = Valores_nut.new(nombre,edad,genero)
end