class Axlsx::WorkbookViews

a simple types list of BookView objects

Public Class Methods

new() click to toggle source

creates the book views object

Calls superclass method Axlsx::SimpleTypedList::new
# File lib/axlsx/workbook/workbook_views.rb, line 6
def initialize
  super WorkbookView
end

Public Instance Methods

to_xml_string(str = '') click to toggle source

Serialize to xml @param [String] str @return [String]

# File lib/axlsx/workbook/workbook_views.rb, line 13
def to_xml_string(str = '')
  return if empty?
  str << "<bookViews>"
  each { |view| view.to_xml_string(str) }
  str << '</bookViews>'
end