Class: Zui::Binding
- Inherits:
-
Object
- Object
- Zui::Binding
- Defined in:
- lib/zui/node.rb
Instance Attribute Summary collapse
-
#animation ⇒ Object
readonly
Returns the value of attribute animation.
-
#last_value ⇒ Object
Returns the value of attribute last_value.
-
#node ⇒ Object
readonly
Returns the value of attribute node.
-
#property ⇒ Object
readonly
Returns the value of attribute property.
-
#reader ⇒ Object
readonly
Returns the value of attribute reader.
Instance Method Summary collapse
-
#initialize(node:, property:, reader:, last_value:, animation:) ⇒ Binding
constructor
A new instance of Binding.
Constructor Details
#initialize(node:, property:, reader:, last_value:, animation:) ⇒ Binding
Returns a new instance of Binding.
32 33 34 35 36 37 38 |
# File 'lib/zui/node.rb', line 32 def initialize(node:, property:, reader:, last_value:, animation:) @node = node @property = property @reader = reader @last_value = last_value @animation = animation end |
Instance Attribute Details
#animation ⇒ Object (readonly)
Returns the value of attribute animation.
30 31 32 |
# File 'lib/zui/node.rb', line 30 def animation @animation end |
#last_value ⇒ Object
Returns the value of attribute last_value.
29 30 31 |
# File 'lib/zui/node.rb', line 29 def last_value @last_value end |
#node ⇒ Object (readonly)
Returns the value of attribute node.
30 31 32 |
# File 'lib/zui/node.rb', line 30 def node @node end |
#property ⇒ Object (readonly)
Returns the value of attribute property.
30 31 32 |
# File 'lib/zui/node.rb', line 30 def property @property end |
#reader ⇒ Object (readonly)
Returns the value of attribute reader.
30 31 32 |
# File 'lib/zui/node.rb', line 30 def reader @reader end |