Class: Axlsx::Break
- Inherits:
-
Object
- Object
- Axlsx::Break
- Includes:
- Accessors, OptionsParser, SerializedAttributes
- Defined in:
- lib/axlsx/workbook/worksheet/break.rb
Overview
The Break class stores the details for row and column page breaks.
Instance Method Summary collapse
-
#initialize(options = {}) {|_self| ... } ⇒ Break
constructor
Creates a new Break object.
-
#to_xml_string(str = '') ⇒ Object
serializes the break to xml.
Methods included from SerializedAttributes
#declared_attributes, included, #serialized_attributes, #serialized_element_attributes, #serialized_tag
Methods included from OptionsParser
Constructor Details
#initialize(options = {}) {|_self| ... } ⇒ Break
Creates a new Break object
18 19 20 21 |
# File 'lib/axlsx/workbook/worksheet/break.rb', line 18 def initialize(={}) yield self if block_given? end |
Instance Method Details
#to_xml_string(str = '') ⇒ Object
serializes the break to xml
30 31 32 |
# File 'lib/axlsx/workbook/worksheet/break.rb', line 30 def to_xml_string(str='') serialized_tag('brk', str) end |