Module: Accordion

Defined in:
app/helpers/accordion/accordion_helper.rb,
app/components/accordion/accordion_component.rb,
app/components/accordion/accordion_item_component.rb

Overview

frozen_strin_literal: true

Defined Under Namespace

Modules: AccordionHelper Classes: AccordionComponent, AccordionItemComponent

Class Method Summary collapse

Class Method Details

.default_plus_passed_classes(defaults, classes) ⇒ Object



4
5
6
# File 'app/components/accordion/accordion_component.rb', line 4

def default_plus_passed_classes(defaults, classes)
  "#{defaults} #{classes}".strip
end