Class: Uchi::Ui::Breadcrumb

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
app/components/uchi/ui/breadcrumb.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#itemsObject (readonly)

Returns the value of attribute items.



6
7
8
# File 'app/components/uchi/ui/breadcrumb.rb', line 6

def items
  @items
end