Class: Renalware::Letters::Part::Prescriptions
- Inherits:
-
DumbDelegator
- Object
- DumbDelegator
- Renalware::Letters::Part::Prescriptions
- Includes:
- PresenterHelper
- Defined in:
- app/models/renalware/letters/part/prescriptions.rb
Instance Method Summary collapse
-
#initialize(patient, _letter, _event = Event::Unknown.new) ⇒ Prescriptions
constructor
A new instance of Prescriptions.
- #to_partial_path ⇒ Object
Methods included from PresenterHelper
Methods inherited from DumbDelegator
#inspect, #public_send, #send, #try, #try!
Constructor Details
#initialize(patient, _letter, _event = Event::Unknown.new) ⇒ Prescriptions
Returns a new instance of Prescriptions.
11 12 13 14 |
# File 'app/models/renalware/letters/part/prescriptions.rb', line 11 def initialize(patient, _letter, _event = Event::Unknown.new) @patient = patient super(prescriptions) end |
Instance Method Details
#to_partial_path ⇒ Object
16 17 18 |
# File 'app/models/renalware/letters/part/prescriptions.rb', line 16 def to_partial_path "renalware/letters/parts/prescriptions" end |