Class: AhoyCaptain::Filter::TagComponent

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

Instance Method Summary collapse

Constructor Details

#initialize(tag_item:) ⇒ TagComponent

Returns a new instance of TagComponent.



4
5
6
# File 'app/components/ahoy_captain/filter/tag_component.rb', line 4

def initialize(tag_item:)
  @tag_item = tag_item
end