Class: Protos::List
- Defined in:
- lib/protos/list.rb,
lib/protos/list/item.rb
Defined Under Namespace
Classes: Item
Instance Method Summary collapse
Methods inherited from Component
Constructor Details
This class inherits a constructor from Protos::Component
Instance Method Details
#item ⇒ Object
16 |
# File 'lib/protos/list.rb', line 16 def item(...) = render Item.new(...) |
#view_template ⇒ Object
12 13 14 |
# File 'lib/protos/list.rb', line 12 def view_template(&) send(element, **attrs, &) end |