Method: SWS::Repetition#process_bindings
- Defined in:
- lib/sws/Core/components/Repetition/Repetition.rb
#process_bindings ⇒ Object
Processes bindings - calls super for.. guest what? :)
100 101 102 103 104 105 106 107 108 109 110 111 |
# File 'lib/sws/Core/components/Repetition/Repetition.rb', line 100 def process_bindings () @list.each_index do |i| @slots["item"].value = @list[i] if ( slot_bound?("index") ) @slots["index"].value = i end @subcomponents = @subcomponent_array[i] super end end |