lib/axlsx/workbook/worksheet/outline_pr.rb in caxlsx-3.1.1 vs lib/axlsx/workbook/worksheet/outline_pr.rb in caxlsx-3.2.0
- old
+ new
@@ -1,33 +1,33 @@
-module Axlsx
-
- # The OutlinePr class manages serialization of a worksheet's outlinePr element, which provides various
- # options to control outlining.
- class OutlinePr
- include Axlsx::OptionsParser
- include Axlsx::Accessors
- include Axlsx::SerializedAttributes
-
- serializable_attributes :summary_below,
- :summary_right,
- :apply_styles
-
- # These attributes are all boolean so I'm doing a bit of a hand
- # waving magic show to set up the attriubte accessors
- boolean_attr_accessor :summary_below,
- :summary_right,
- :apply_styles
-
- # Creates a new OutlinePr object
- # @param [Hash] options used to create the outline_pr
- def initialize(options = {})
- parse_options options
- end
-
- # Serialize the object
- # @param [String] str serialized output will be appended to this object if provided.
- # @return [String]
- def to_xml_string(str = '')
- str << "<outlinePr #{serialized_attributes} />"
- end
- end
-end
+module Axlsx
+
+ # The OutlinePr class manages serialization of a worksheet's outlinePr element, which provides various
+ # options to control outlining.
+ class OutlinePr
+ include Axlsx::OptionsParser
+ include Axlsx::Accessors
+ include Axlsx::SerializedAttributes
+
+ serializable_attributes :summary_below,
+ :summary_right,
+ :apply_styles
+
+ # These attributes are all boolean so I'm doing a bit of a hand
+ # waving magic show to set up the attriubte accessors
+ boolean_attr_accessor :summary_below,
+ :summary_right,
+ :apply_styles
+
+ # Creates a new OutlinePr object
+ # @param [Hash] options used to create the outline_pr
+ def initialize(options = {})
+ parse_options options
+ end
+
+ # Serialize the object
+ # @param [String] str serialized output will be appended to this object if provided.
+ # @return [String]
+ def to_xml_string(str = '')
+ str << "<outlinePr #{serialized_attributes} />"
+ end
+ end
+end