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
#declared_attributes, included, #serialized_attributes, #serialized_element_attributes, #serialized_tag
Constructor Details
#initialize(options = {}) ⇒ SheetFormatPr
creates a new sheet_format_pr object
32 33 34 35 |
# File 'lib/axlsx/workbook/worksheet/sheet_format_pr.rb', line 32 def initialize(={}) set_defaults end |
Instance Method Details
#to_xml_string(str = '') ⇒ String
serializes this object to an xml string
50 51 52 |
# File 'lib/axlsx/workbook/worksheet/sheet_format_pr.rb', line 50 def to_xml_string(str='') str << "<sheetFormatPr #{serialized_attributes}/>" end |