Class: Renalware::Patients::SideMenuComponent
- Inherits:
-
ActionView::Component::Base
- Object
- ActionView::Component::Base
- Renalware::Patients::SideMenuComponent
- Defined in:
- app/components/renalware/patients/side_menu_component.rb
Overview
Experimental ActionView component
Instance Method Summary collapse
-
#initialize(patient:) ⇒ SideMenuComponent
constructor
A new instance of SideMenuComponent.
Constructor Details
#initialize(patient:) ⇒ SideMenuComponent
Returns a new instance of SideMenuComponent.
9 10 11 |
# File 'app/components/renalware/patients/side_menu_component.rb', line 9 def initialize(patient:) @patient = patient end |