Class: FormSubmitComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- FormSubmitComponent
- Defined in:
- lib/alveole/components/form_submit_component.rb
Instance Method Summary collapse
-
#initialize(label:) ⇒ FormSubmitComponent
constructor
A new instance of FormSubmitComponent.
Constructor Details
#initialize(label:) ⇒ FormSubmitComponent
Returns a new instance of FormSubmitComponent.
2 3 4 5 6 |
# File 'lib/alveole/components/form_submit_component.rb', line 2 def initialize(label:) super @label = label end |