lib/axlsx/workbook/workbook_views.rb in caxlsx-3.1.1 vs lib/axlsx/workbook/workbook_views.rb in caxlsx-3.2.0
- old
+ new
@@ -1,22 +1,22 @@
-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
-
-
+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
+
+