Sha256: 7526f58e6811eb281f3502271dbaee8ab35bd10db6eba4d16814f25f49cb0a11
Contents?: true
Size: 490 Bytes
Versions: 1
Compression:
Stored size: 490 Bytes
Contents
# frozen_string_literal: true 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
caxlsx-4.0.0 | lib/axlsx/workbook/defined_names.rb |