Module: DesignSystem::Generic::Builders::Elements::Breadcrumbs
- Included in:
- FixedElements
- Defined in:
- lib/design_system/generic/builders/elements/breadcrumbs.rb
Overview
This mixin module is used to provide breadcrumbs.
Instance Method Summary collapse
Instance Method Details
#breadcrumb(label, path) ⇒ Object
7 8 9 10 |
# File 'lib/design_system/generic/builders/elements/breadcrumbs.rb', line 7 def (label, path) @breadcrumbs ||= [] @breadcrumbs << { label:, path: } end |