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
16 17 18 19 |
# File 'lib/axlsx/workbook/worksheet/break.rb', line 16 def initialize( = {}) yield self if block_given? end |
Instance Method Details
#to_xml_string(str = '') ⇒ Object
serializes the break to xml
28 29 30 |
# File 'lib/axlsx/workbook/worksheet/break.rb', line 28 def to_xml_string(str = '') serialized_tag('brk', str) end |