Class: OoxmlParser::Delimiter

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(begin_character = '(', value = nil, end_character = ')') ⇒ Delimiter

Returns a new instance of Delimiter.



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

def initialize(begin_character = '(', value = nil, end_character = ')')
  @begin_character = begin_character
  @value = value
  @end_character = end_character
end

Instance Attribute Details

#begin_characterObject

Returns the value of attribute begin_character.



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

def begin_character
  @begin_character
end

#end_characterObject

Returns the value of attribute end_character.



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

def end_character
  @end_character
end

#valueObject

Returns the value of attribute value.



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

def value
  @value
end