Class: Plurimath::Math::Function::Bar
- Inherits:
-
UnaryFunction
- Object
- UnaryFunction
- Plurimath::Math::Function::Bar
- Defined in:
- lib/plurimath/math/function/bar.rb
Instance Attribute Summary
Attributes inherited from UnaryFunction
Instance Method Summary collapse
Methods inherited from UnaryFunction
#==, #class_name, #initialize, #to_asciimath, #to_mathml_without_math_tag, #value_to_asciimath
Constructor Details
This class inherits a constructor from Plurimath::Math::Function::UnaryFunction
Instance Method Details
#to_latex ⇒ Object
9 10 11 12 |
# File 'lib/plurimath/math/function/bar.rb', line 9 def to_latex first_value = "{#{parameter_one.to_latex}}" if parameter_one "\\overline#{first_value}" end |