Class: Axlsx::SheetFormatPr
- Inherits:
-
Object
- Object
- Axlsx::SheetFormatPr
- Includes:
- Accessors, OptionsParser, SerializedAttributes
- Defined in:
- lib/axlsx/workbook/worksheet/sheet_format_pr.rb
Overview
Sheet formatting properties
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ SheetFormatPr
constructor
creates a new sheet_format_pr object.
-
#to_xml_string(str = +'')) ⇒ String
serializes this object to an xml string.
Methods included from OptionsParser
Methods included from SerializedAttributes
included, #serialized_attributes, #serialized_element_attributes, #serialized_tag
Constructor Details
#initialize(options = {}) ⇒ SheetFormatPr
creates a new sheet_format_pr object
33 34 35 36 |
# File 'lib/axlsx/workbook/worksheet/sheet_format_pr.rb', line 33 def initialize( = {}) set_defaults end |
Instance Method Details
#to_xml_string(str = +'')) ⇒ String
serializes this object to an xml string
51 52 53 54 55 |
# File 'lib/axlsx/workbook/worksheet/sheet_format_pr.rb', line 51 def to_xml_string(str = +'') str << '<sheetFormatPr ' serialized_attributes(str) str << '/>' end |