Class: Plurimath::Math::Function::Right
Instance Attribute Summary
#parameter_one
Instance Method Summary
collapse
#==, #class_name, #initialize
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_html ⇒ Object
25
26
27
|
# File 'lib/plurimath/math/function/right.rb', line 25
def to_html
"<i>#{parameter_one}</i>"
end
|
#to_mathml_without_math_tag ⇒ Object
13
14
15
16
17
|
# File 'lib/plurimath/math/function/right.rb', line 13
def to_mathml_without_math_tag
mo = Utility.ox_element("mo")
mo << right_paren if parameter_one
mo
end
|
#to_omml_without_math_tag ⇒ Object
19
20
21
22
23
|
# File 'lib/plurimath/math/function/right.rb', line 19
def to_omml_without_math_tag
mt = Utility.ox_element("m:t")
mt << parameter_one if parameter_one
mt
end
|