Module: Matestack::Ui::Core::Slots

Included in:
TagHelper
Defined in:
lib/matestack/ui/core/slots.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#slotsObject

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