Class: Renalware::Pathology::PatientPresenter
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Renalware::Pathology::PatientPresenter
- Defined in:
- app/presenters/renalware/pathology/patient_presenter.rb
Instance Method Summary collapse
-
#initialize(patient) ⇒ PatientPresenter
constructor
A new instance of PatientPresenter.
Constructor Details
#initialize(patient) ⇒ PatientPresenter
Returns a new instance of PatientPresenter.
8 9 10 |
# File 'app/presenters/renalware/pathology/patient_presenter.rb', line 8 def initialize(patient) super(Pathology.cast_patient(patient.__getobj__)) end |