Class: AhoyCaptain::Filter::DropdownComponent

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
app/components/ahoy_captain/filter/dropdown_component.rb

Instance Method Summary collapse

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