Sha256: 56eacb6972392ed2b0c9a7ddd23d4c5345520e0dbc5a87a51b12b909cf970d84
Contents?: true
Size: 458 Bytes
Versions: 2
Compression:
Stored size: 458 Bytes
Contents
module Axlsx # a simple types list of DefinedName objects class DefinedNames < SimpleTypedList # creates the DefinedNames object def initialize super DefinedName end # Serialize to xml # @param [String] str # @return [String] def to_xml_string(str = '') return if empty? str << '<definedNames>' each { |defined_name| defined_name.to_xml_string(str) } str << '</definedNames>' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
caxlsx-3.4.1 | lib/axlsx/workbook/defined_names.rb |
caxlsx-3.4.0 | lib/axlsx/workbook/defined_names.rb |