Class: Anchor::BreadcrumbsComponent

Inherits:
Component
  • Object
show all
Defined in:
app/components/anchor/breadcrumbs_component.rb

Instance Method Summary collapse

Methods inherited from Component

generate_id

Methods included from ViewHelper

#text_prose

Methods included from FetchOrFallbackHelper

#fetch_or_fallback

Constructor Details

#initialize(label: "Breadcrumb") ⇒ BreadcrumbsComponent

Returns a new instance of BreadcrumbsComponent.



5
6
7
8
9
# File 'app/components/anchor/breadcrumbs_component.rb', line 5

def initialize(label: "Breadcrumb")
  @label = label

  super
end