Class: AhoyCaptain::Filter::TagComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- AhoyCaptain::Filter::TagComponent
- Defined in:
- app/components/ahoy_captain/filter/tag_component.rb
Instance Method Summary collapse
-
#initialize(tag_item:) ⇒ TagComponent
constructor
A new instance of TagComponent.
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 |