Class: Uchi::Ui::Breadcrumb
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Uchi::Ui::Breadcrumb
- Defined in:
- app/components/uchi/ui/breadcrumb.rb
Instance Attribute Summary collapse
-
#items ⇒ Object
readonly
Returns the value of attribute items.
Instance Method Summary collapse
-
#initialize(items:) ⇒ Breadcrumb
constructor
A new instance of Breadcrumb.
Constructor Details
#initialize(items:) ⇒ Breadcrumb
8 9 10 11 |
# File 'app/components/uchi/ui/breadcrumb.rb', line 8 def initialize(items:) super() @items = items end |
Instance Attribute Details
#items ⇒ Object (readonly)
Returns the value of attribute items.
6 7 8 |
# File 'app/components/uchi/ui/breadcrumb.rb', line 6 def items @items end |