Class: Plurimath::Math::Function::Semantics
- Inherits:
-
BinaryFunction
- Object
- BinaryFunction
- Plurimath::Math::Function::Semantics
- Defined in:
- lib/plurimath/math/function/semantics.rb
Instance Attribute Summary
Attributes inherited from BinaryFunction
#parameter_one, #parameter_two
Instance Method Summary collapse
Methods inherited from BinaryFunction
#==, #class_name, #initialize, #to_html, #to_omml_without_math_tag
Constructor Details
This class inherits a constructor from Plurimath::Math::Function::BinaryFunction
Instance Method Details
#to_asciimath ⇒ Object
22 23 24 |
# File 'lib/plurimath/math/function/semantics.rb', line 22 def to_asciimath parameter_one&.to_asciimath end |
#to_latex ⇒ Object
18 19 20 |
# File 'lib/plurimath/math/function/semantics.rb', line 18 def to_latex parameter_one&.to_latex end |
#to_mathml_without_math_tag ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/plurimath/math/function/semantics.rb', line 9 def to_mathml_without_math_tag first_value = parameter_one&.to_mathml_without_math_tag second_value = (parameter_two) Utility.update_nodes( Utility.ox_element("semantics"), second_value.insert(0, first_value), ) end |