Class: Paciente
Overview
Paciente de una consulta
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(nombre, edad, genero) ⇒ Paciente
constructor
A new instance of Paciente.
Methods inherited from Individuo
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 |