Class: IndexHeaderAddComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- IndexHeaderAddComponent
- Defined in:
- app/components/index_header_add_component.rb
Instance Method Summary collapse
-
#initialize(path:) ⇒ IndexHeaderAddComponent
constructor
A new instance of IndexHeaderAddComponent.
Constructor Details
#initialize(path:) ⇒ IndexHeaderAddComponent
Returns a new instance of IndexHeaderAddComponent.
4 5 6 |
# File 'app/components/index_header_add_component.rb', line 4 def initialize(path:) @path = path end |