Class: Forms::BreadcrumbComponent

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
app/components/forms/breadcrumb_component.rb

Instance Method Summary collapse

Constructor Details

#initialize(items) ⇒ BreadcrumbComponent

Returns a new instance of BreadcrumbComponent.



5
6
7
# File 'app/components/forms/breadcrumb_component.rb', line 5

def initialize(items)
  @items = items
end