Class: Renalware::Accesses::PatientPresenter
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Renalware::Accesses::PatientPresenter
- Defined in:
- app/presenters/renalware/accesses/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.
13 14 15 |
# File 'app/presenters/renalware/accesses/patient_presenter.rb', line 13 def initialize(patient) super(Accesses.cast_patient(patient.__getobj__)) end |