Class: OoxmlParser::Box
- Inherits:
-
Object
- Object
- OoxmlParser::Box
- Defined in:
- lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/box.rb
Instance Attribute Summary collapse
-
#borders ⇒ Object
Returns the value of attribute borders.
-
#element ⇒ Object
Returns the value of attribute element.
Instance Method Summary collapse
-
#initialize(borders = false, element = nil) ⇒ Box
constructor
A new instance of Box.
Constructor Details
#initialize(borders = false, element = nil) ⇒ Box
Returns a new instance of Box.
6 7 8 9 |
# File 'lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/box.rb', line 6 def initialize(borders = false, element = nil) @borders = borders @element = element end |
Instance Attribute Details
#borders ⇒ Object
Returns the value of attribute borders.
4 5 6 |
# File 'lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/box.rb', line 4 def borders @borders end |
#element ⇒ Object
Returns the value of attribute element.
4 5 6 |
# File 'lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/box.rb', line 4 def element @element end |