80
81
82
83
84
85
86
87
88
89
90
91
|
# File 'lib/BOBrb/child_array.rb', line 80
def p (data, options=nil)
@dataset.each_with_index do |item, i|
BOBrb::Element.data = item
if @bobs[i]
@bobs[i] = @bobs[i].p(data, options)
else
@bobs.push(@parent.p(data, options))
end
end
return self
end
|