Class: OoxmlParser::MatrixRow
- Inherits:
-
OOXMLDocumentObject
- Object
- OOXMLDocumentObject
- OoxmlParser::MatrixRow
- Defined in:
- lib/ooxml_parser/docx_parser/document_structure/docx_paragraph/docx_formula/matrix/matrix_row.rb
Overview
Class for ‘m:mr’ data
Instance Attribute Summary collapse
-
#columns ⇒ Object
Returns the value of attribute columns.
Attributes inherited from OOXMLDocumentObject
Instance Method Summary collapse
-
#initialize(columns_count = 1, parent: nil) ⇒ MatrixRow
constructor
A new instance of MatrixRow.
Methods inherited from OOXMLDocumentObject
#==, #boolean_attribute_value, #parse_xml, #with_data?
Methods included from OoxmlObjectAttributeHelper
#attribute_enabled?, #option_enabled?
Methods included from OoxmlDocumentObjectHelper
Constructor Details
#initialize(columns_count = 1, parent: nil) ⇒ MatrixRow
Returns a new instance of MatrixRow.
8 9 10 11 |
# File 'lib/ooxml_parser/docx_parser/document_structure/docx_paragraph/docx_formula/matrix/matrix_row.rb', line 8 def initialize(columns_count = 1, parent: nil) @columns = Array.new(columns_count) super(parent: parent) end |
Instance Attribute Details
#columns ⇒ Object
Returns the value of attribute columns.
6 7 8 |
# File 'lib/ooxml_parser/docx_parser/document_structure/docx_paragraph/docx_formula/matrix/matrix_row.rb', line 6 def columns @columns end |