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