Class: Plurimath::Math::Symbols::Paren::Rround

Inherits:
Paren
  • Object
show all
Defined in:
lib/plurimath/math/symbols/paren/rround.rb

Constant Summary collapse

INPUT =
{
  unicodemath: [")"],
  asciimath: [")"],
  mathml: [")"],
  latex: [")"],
  omml: [")"],
  html: [")"],
}.freeze

Instance Method Summary collapse

Instance Method Details

#close?Boolean

Returns:

  • (Boolean)


44
45
46
# File 'lib/plurimath/math/symbols/paren/rround.rb', line 44

def close?
  true
end

#open?Boolean

Returns:

  • (Boolean)


40
41
42
# File 'lib/plurimath/math/symbols/paren/rround.rb', line 40

def open?
  false
end

#openingObject



48
49
50
# File 'lib/plurimath/math/symbols/paren/rround.rb', line 48

def opening
  Lround
end

#paren_valueObject



52
53
54
# File 'lib/plurimath/math/symbols/paren/rround.rb', line 52

def paren_value
  ")"
end

#to_asciimathObject



20
21
22
# File 'lib/plurimath/math/symbols/paren/rround.rb', line 20

def to_asciimath(**)
  paren_value
end

#to_htmlObject



36
37
38
# File 'lib/plurimath/math/symbols/paren/rround.rb', line 36

def to_html(**)
  paren_value
end

#to_latexObject

output methods



16
17
18
# File 'lib/plurimath/math/symbols/paren/rround.rb', line 16

def to_latex(**)
  paren_value
end

#to_mathml_without_math_tag(_) ⇒ Object



28
29
30
# File 'lib/plurimath/math/symbols/paren/rround.rb', line 28

def to_mathml_without_math_tag(_, **)
  ox_element("mo") << paren_value
end

#to_omml_without_math_tag(_) ⇒ Object



32
33
34
# File 'lib/plurimath/math/symbols/paren/rround.rb', line 32

def to_omml_without_math_tag(_, **)
  paren_value
end

#to_unicodemathObject



24
25
26
# File 'lib/plurimath/math/symbols/paren/rround.rb', line 24

def to_unicodemath(**)
  Utility.html_entity_to_unicode(paren_value)
end