Sha256: 34bd2266ef52507248057e8514c5619fa30b2dc3706a7ee8adef0674a672c287
Contents?: true
Size: 466 Bytes
Versions: 4
Compression:
Stored size: 466 Bytes
Contents
# frozen_string_literal: true 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
4 entries across 4 versions & 2 rubygems