Class: AhoyCaptain::DropdownButtonComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- AhoyCaptain::DropdownButtonComponent
- Defined in:
- app/components/ahoy_captain/dropdown_button_component.rb
Instance Method Summary collapse
-
#initialize(title:) ⇒ DropdownButtonComponent
constructor
A new instance of DropdownButtonComponent.
Constructor Details
#initialize(title:) ⇒ DropdownButtonComponent
Returns a new instance of DropdownButtonComponent.
7 8 9 |
# File 'app/components/ahoy_captain/dropdown_button_component.rb', line 7 def initialize(title:) @title = title end |