Class: ViewComponent::Slot

Inherits:
Object
  • Object
show all
Defined in:
lib/view_component/slot.rb

Instance Attribute Summary collapse

Instance Attribute Details

#contentObject

Returns the value of attribute content.



5
6
7
# File 'lib/view_component/slot.rb', line 5

def content
  @content
end