Class: Tzispa::Rig::LoopItem

Inherits:
Object
  • Object
show all
Defined in:
lib/tzispa/rig/binder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#contextObject (readonly)

Returns the value of attribute context.



123
124
125
# File 'lib/tzispa/rig/binder.rb', line 123

def context
  @context
end

#dataObject (readonly)

Returns the value of attribute data.



123
124
125
# File 'lib/tzispa/rig/binder.rb', line 123

def data
  @data
end