Class: OoxmlParser::Box

Inherits:
Object
  • Object
show all
Defined in:
lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/box.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bordersObject

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

#elementObject

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