Class: Protos::List

Inherits:
Component show all
Defined in:
lib/protos/list.rb,
lib/protos/list/item.rb

Defined Under Namespace

Classes: Item

Instance Method Summary collapse

Methods inherited from Component

#initialize

Constructor Details

This class inherits a constructor from Protos::Component

Instance Method Details

#itemObject



16
# File 'lib/protos/list.rb', line 16

def item(...) = render Item.new(...)

#view_templateObject



12
13
14
# File 'lib/protos/list.rb', line 12

def view_template(&)
  send(element, **attrs, &)
end