lib/rubyXL/objects/root.rb in rubyXL-3.3.14 vs lib/rubyXL/objects/root.rb in rubyXL-3.3.15
- old
+ new
@@ -44,10 +44,10 @@
self.rels_hash[obj.class] << obj
}
self.rels_hash.keys.sort_by{ |c| c::SAVE_ORDER }.each { |klass|
puts "<-- DEBUG: saving related #{klass} files" if @@debug
- self.rels_hash[klass].each { |obj|
+ self.rels_hash[klass].select! { |obj|
puts "<-- DEBUG: > #{obj.xlsx_path}" if @@debug
obj.add_to_zip(zipstream)
}
}
}