class RubyXL::Vector
Public Instance Methods
before_write_xml()
click to toggle source
# File lib/rubyXL/objects/container_nodes.rb, line 121 def before_write_xml # Fill out the count attribute known_child_nodes = obtain_class_variable(:@@ooxml_child_nodes) self.size = 0 known_child_nodes.values.each { |v| self.size += self.send(v[:accessor]).size } true end