Class: OoxmlParser::Delimiter
- Inherits:
-
Object
- Object
- OoxmlParser::Delimiter
- Defined in:
- lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/delimeter.rb
Instance Attribute Summary collapse
-
#begin_character ⇒ Object
Returns the value of attribute begin_character.
-
#end_character ⇒ Object
Returns the value of attribute end_character.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(begin_character = '(', value = nil, end_character = ')') ⇒ Delimiter
constructor
A new instance of Delimiter.
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_character ⇒ Object
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_character ⇒ Object
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 |
#value ⇒ Object
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 |