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