Class: JsxRosetta::IR::Slot
- Inherits:
-
Data
- Object
- Data
- JsxRosetta::IR::Slot
- Includes:
- Node
- Defined in:
- lib/jsx_rosetta/ir/types.rb
Overview
A content slot. Backends decide how to realize it (ViewComponent’s ‘content` for the default slot, named renders_one slots for others).
name : String — “children” for the default slot, or a prop name.
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name
203 204 205 |
# File 'lib/jsx_rosetta/ir/types.rb', line 203 def name @name end |