Class: OoxmlParser::Operator
- Inherits:
-
Object
- Object
- OoxmlParser::Operator
- Defined in:
- lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/operator.rb
Instance Attribute Summary collapse
-
#bottom_value ⇒ Object
Returns the value of attribute bottom_value.
-
#operator ⇒ Object
Returns the value of attribute operator.
-
#top_value ⇒ Object
Returns the value of attribute top_value.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(operator = nil, bottom_value = nil, top_value = nil, value = nil) ⇒ Operator
constructor
A new instance of Operator.
Constructor Details
#initialize(operator = nil, bottom_value = nil, top_value = nil, value = nil) ⇒ Operator
Returns a new instance of Operator.
6 7 8 9 10 11 |
# File 'lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/operator.rb', line 6 def initialize(operator = nil, bottom_value = nil, top_value = nil, value = nil) @operator = operator @bottom_value = bottom_value @top_value = top_value @value = value end |
Instance Attribute Details
#bottom_value ⇒ Object
Returns the value of attribute bottom_value.
4 5 6 |
# File 'lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/operator.rb', line 4 def bottom_value @bottom_value end |
#operator ⇒ Object
Returns the value of attribute operator.
4 5 6 |
# File 'lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/operator.rb', line 4 def operator @operator end |
#top_value ⇒ Object
Returns the value of attribute top_value.
4 5 6 |
# File 'lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/operator.rb', line 4 def top_value @top_value 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/operator.rb', line 4 def value @value end |