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