Class: OoxmlParser::Limit

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, element = nil, limit = nil) ⇒ Limit

Returns a new instance of Limit.



6
7
8
9
10
# File 'lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/limit.rb', line 6

def initialize(type = nil, element = nil, limit = nil)
  @type = type
  @element = element
  @limit = limit
end

Instance Attribute Details

#elementObject

Returns the value of attribute element.



4
5
6
# File 'lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/limit.rb', line 4

def element
  @element
end

#limitObject

Returns the value of attribute limit.



4
5
6
# File 'lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/limit.rb', line 4

def limit
  @limit
end

#typeObject

Returns the value of attribute type.



4
5
6
# File 'lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/limit.rb', line 4

def type
  @type
end