Class: Trek::MenuComponent
- Inherits:
-
Component
- Object
- Component
- Trek::MenuComponent
- Defined in:
- app/components/trek/menu_component.rb
Defined Under Namespace
Classes: SectionComponent
Instance Method Summary collapse
- #classes ⇒ Object
-
#with_section ⇒ Object
Support for legacy
sectionslot (since we moved to polymorphic slots).
Instance Method Details
#classes ⇒ Object
19 20 21 22 23 24 |
# File 'app/components/trek/menu_component.rb', line 19 def classes class_names_for( root_class, classnames ) end |
#with_section ⇒ Object
Support for legacy section slot (since we moved to polymorphic slots)
15 16 17 |
# File 'app/components/trek/menu_component.rb', line 15 def with_section(...) with_section_part(...) end |