lib/cells/array/arraying_formula_cell.rb in rubyfromexcel-0.0.13 vs lib/cells/array/arraying_formula_cell.rb in rubyfromexcel-0.0.16
- old
+ new
@@ -37,12 +37,13 @@
cell.reference - self.reference
end
def work_out_dependencies
super
+ dependencies_for_array_formula = [reference.to_ruby(true)] + self.dependencies
each_array_formula do |array_formula_reference,array_cell|
next unless array_cell
- array_cell.dependencies = self.dependencies
+ array_cell.dependencies = dependencies_for_array_formula
end
end
def each_array_formula
array_range.to_reference_enum.each do |array_formula_reference|
\ No newline at end of file