Class: Blacklight::Facets::SuggestComponent
- Inherits:
-
Component
- Object
- ViewComponent::Base
- Component
- Blacklight::Facets::SuggestComponent
- Defined in:
- app/components/blacklight/facets/suggest_component.rb
Instance Method Summary collapse
-
#initialize(presenter:) ⇒ SuggestComponent
constructor
A new instance of SuggestComponent.
Methods inherited from Component
reset_compiler!, sidecar_files, upstream_sidecar_files
Constructor Details
#initialize(presenter:) ⇒ SuggestComponent
Returns a new instance of SuggestComponent.
6 7 8 |
# File 'app/components/blacklight/facets/suggest_component.rb', line 6 def initialize(presenter:) @presenter = presenter end |