Sha256: 1197e7dc2fed154de7158d5ddf3c9718eb8eb71df1a761bb306adc24868acc9f
Contents?: true
Size: 433 Bytes
Versions: 2
Compression:
Stored size: 433 Bytes
Contents
module Axlsx # a simple types list of BookView objects class WorkbookViews < SimpleTypedList # creates the book views object def initialize super WorkbookView end # Serialize to xml # @param [String] str # @return [String] def to_xml_string(str = '') return if empty? str << "<bookViews>" each { |view| view.to_xml_string(str) } str << '</bookViews>' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
caxlsx-3.4.1 | lib/axlsx/workbook/workbook_views.rb |
caxlsx-3.4.0 | lib/axlsx/workbook/workbook_views.rb |