Class: Forms::BreadcrumbComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Forms::BreadcrumbComponent
- Defined in:
- app/components/forms/breadcrumb_component.rb
Instance Method Summary collapse
-
#initialize(items) ⇒ BreadcrumbComponent
constructor
A new instance of BreadcrumbComponent.
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 |