Class: Tzispa::Rig::LoopItem
- Inherits:
-
Object
- Object
- Tzispa::Rig::LoopItem
- Defined in:
- lib/tzispa/rig/binder.rb
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
Returns the value of attribute context.
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(binder) ⇒ LoopItem
constructor
A new instance of LoopItem.
Constructor Details
#initialize(binder) ⇒ LoopItem
Returns a new instance of LoopItem.
125 126 127 128 |
# File 'lib/tzispa/rig/binder.rb', line 125 def initialize(binder) @context = binder.context @data = binder.data_struct.new end |
Instance Attribute Details
#context ⇒ Object (readonly)
Returns the value of attribute context.
123 124 125 |
# File 'lib/tzispa/rig/binder.rb', line 123 def context @context end |
#data ⇒ Object (readonly)
Returns the value of attribute data.
123 124 125 |
# File 'lib/tzispa/rig/binder.rb', line 123 def data @data end |