Class: IndexHeaderAddComponent

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
app/components/index_header_add_component.rb

Instance Method Summary collapse

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