Class: Geoblacklight::AccordionComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Geoblacklight::AccordionComponent
- Defined in:
- app/components/geoblacklight/accordion_component.rb
Instance Method Summary collapse
-
#initialize(id:, title:) ⇒ AccordionComponent
constructor
A new instance of AccordionComponent.
Constructor Details
#initialize(id:, title:) ⇒ AccordionComponent
Returns a new instance of AccordionComponent.
5 6 7 8 9 |
# File 'app/components/geoblacklight/accordion_component.rb', line 5 def initialize(id:, title:) @id = id @title = title super() end |