Class: Blacklight::Facets::SuggestComponent

Inherits:
Component
  • Object
show all
Defined in:
app/components/blacklight/facets/suggest_component.rb

Instance Method Summary collapse

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