Class: OoxmlParser::Function
- Inherits:
-
Object
- Object
- OoxmlParser::Function
- Defined in:
- lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/function.rb
Instance Attribute Summary collapse
-
#argument ⇒ Object
Returns the value of attribute argument.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name = nil, argument = nil) ⇒ Function
constructor
A new instance of Function.
Constructor Details
#initialize(name = nil, argument = nil) ⇒ Function
Returns a new instance of Function.
6 7 8 9 |
# File 'lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/function.rb', line 6 def initialize(name = nil, argument = nil) @name = name @argument = argument end |
Instance Attribute Details
#argument ⇒ Object
Returns the value of attribute argument.
4 5 6 |
# File 'lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/function.rb', line 4 def argument @argument end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/function.rb', line 4 def name @name end |