Class: Plurimath::Math::Function::Limits
- Inherits:
-
TernaryFunction
- Object
- TernaryFunction
- Plurimath::Math::Function::Limits
- Defined in:
- lib/plurimath/math/function/limits.rb
Instance Attribute Summary
Attributes inherited from TernaryFunction
#parameter_one, #parameter_three, #parameter_two
Instance Method Summary collapse
Methods inherited from TernaryFunction
#==, #class_name, #initialize, #to_asciimath, #to_html, #to_mathml_without_math_tag
Constructor Details
This class inherits a constructor from Plurimath::Math::Function::TernaryFunction
Instance Method Details
#to_latex ⇒ Object
9 10 11 12 13 14 |
# File 'lib/plurimath/math/function/limits.rb', line 9 def to_latex first_value = parameter_one&.to_latex second_value = "{#{parameter_two.to_latex}}" if parameter_two third_value = "{#{parameter_three.to_latex}}" if parameter_three "#{first_value}\\#{class_name}_#{second_value}^#{third_value}" end |