Class: BreadcrumbComponent

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
lib/alveole/components/breadcrumb_component.rb

Instance Method Summary collapse

Constructor Details

#initialize(label:, url: nil) ⇒ BreadcrumbComponent

Returns a new instance of BreadcrumbComponent.



2
3
4
5
6
7
# File 'lib/alveole/components/breadcrumb_component.rb', line 2

def initialize(label:, url: nil)
  super

  @url = url
  @label = label
end