Method: BOBrb::ChildArray#d

Defined in:
lib/BOBrb/child_array.rb

#d(data) ⇒ Object



118
119
120
121
122
123
124
125
126
127
128
129
# File 'lib/BOBrb/child_array.rb', line 118

def d (data)
	@bobs.each_with_index do |bob, i|
		BOBrb::Element.data = item
		if @bobs[i]
			@bobs[i] = @bobs[i].d(data)
		else
			@bobs.push(@parent.d(data))
		end
	end
		
	return self
end