Class: Forms::BreadcrumbComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Forms::BreadcrumbComponent
- Defined in:
- lib/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 'lib/app/components/forms/breadcrumb_component.rb', line 5 def initialize(items) @items = items end |