Module: Matestack::Ui::Core::Slots
- Included in:
- TagHelper
- Defined in:
- lib/matestack/ui/core/slots.rb
Instance Attribute Summary collapse
-
#slots ⇒ Object
Returns the value of attribute slots.
Instance Method Summary collapse
Instance Attribute Details
#slots ⇒ Object
Returns the value of attribute slots.
6 7 8 |
# File 'lib/matestack/ui/core/slots.rb', line 6 def slots @slots end |
Instance Method Details
#slot(key, *args) ⇒ Object
8 9 10 |
# File 'lib/matestack/ui/core/slots.rb', line 8 def slot(key, *args) slots[key].call(*args) end |