Class: Plurimath::Math::Function::Right
Instance Attribute Summary
#parameter_one
Instance Method Summary
collapse
#==, #class_name, #initialize, #to_html, #value_to_asciimath
Instance Method Details
#to_asciimath ⇒ Object
9
10
11
|
# File 'lib/plurimath/math/function/right.rb', line 9
def to_asciimath
"right#{parameter_one}"
end
|
#to_latex ⇒ Object
17
18
19
20
|
# File 'lib/plurimath/math/function/right.rb', line 17
def to_latex
prefix = "\\" if parameter_one == "}"
"\\right#{prefix}#{parameter_one}"
end
|
#to_mathml_without_math_tag ⇒ Object
13
14
15
|
# File 'lib/plurimath/math/function/right.rb', line 13
def to_mathml_without_math_tag
"<mi>#{parameter_one}</mi>"
end
|