Class: AhoyCaptain::Filter::DropdownComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- AhoyCaptain::Filter::DropdownComponent
- Defined in:
- app/components/ahoy_captain/filter/dropdown_component.rb
Instance Method Summary collapse
-
#initialize(filters:) ⇒ DropdownComponent
constructor
A new instance of DropdownComponent.
Constructor Details
#initialize(filters:) ⇒ DropdownComponent
Returns a new instance of DropdownComponent.
4 5 6 |
# File 'app/components/ahoy_captain/filter/dropdown_component.rb', line 4 def initialize(filters:) @filters = filters end |