# 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 << "" each { |view| view.to_xml_string(str) } str << '' end end end