Class: Zui::StructuralBinding
- Inherits:
-
Object
- Object
- Zui::StructuralBinding
- Defined in:
- lib/zui/node.rb
Instance Attribute Summary collapse
-
#last_children ⇒ Object
Returns the value of attribute last_children.
-
#node ⇒ Object
readonly
Returns the value of attribute node.
-
#renderer ⇒ Object
readonly
Returns the value of attribute renderer.
Instance Method Summary collapse
-
#initialize(node:, renderer:, last_children:) ⇒ StructuralBinding
constructor
A new instance of StructuralBinding.
Constructor Details
#initialize(node:, renderer:, last_children:) ⇒ StructuralBinding
Returns a new instance of StructuralBinding.
45 46 47 48 49 |
# File 'lib/zui/node.rb', line 45 def initialize(node:, renderer:, last_children:) @node = node @renderer = renderer @last_children = last_children end |
Instance Attribute Details
#last_children ⇒ Object
Returns the value of attribute last_children.
42 43 44 |
# File 'lib/zui/node.rb', line 42 def last_children @last_children end |
#node ⇒ Object (readonly)
Returns the value of attribute node.
43 44 45 |
# File 'lib/zui/node.rb', line 43 def node @node end |
#renderer ⇒ Object (readonly)
Returns the value of attribute renderer.
43 44 45 |
# File 'lib/zui/node.rb', line 43 def renderer @renderer end |