Class: Protos::Breadcrumbs
- Inherits:
-
Component
- Object
- Phlex::HTML
- Component
- Protos::Breadcrumbs
show all
- Defined in:
- lib/protos/breadcrumbs.rb,
lib/protos/breadcrumbs/crumb.rb
Defined Under Namespace
Classes: Crumb
Instance Method Summary
collapse
Methods inherited from Component
#initialize
Instance Method Details
#crumb ⇒ Object
16
|
# File 'lib/protos/breadcrumbs.rb', line 16
def crumb(...) = render Crumb.new(...)
|
#view_template(&block) ⇒ Object
10
11
12
13
14
|
# File 'lib/protos/breadcrumbs.rb', line 10
def view_template(&block)
nav(**attrs) do
ul(class: css[:list], &block)
end
end
|