Class: Plurimath::Math::Symbols::Paren::Rbbrack

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

Constant Summary collapse

INPUT =
{
  unicodemath: ["⟧", "rbbrack", "Rbrack"],
  asciimath: [["⟧"],
              parsing_wrapper(["rbbrack", "Rbrack"],
                              lang: :asciimath)],
  mathml: ["⟧"],
  latex: ["⟧",
          parsing_wrapper(["rbbrack", "Rbrack"], lang: :latex)],
  omml: ["⟧"],
  html: ["⟧"],
}.freeze

Instance Method Summary collapse

Instance Method Details

#close?Boolean

Returns:

  • (Boolean)


47
48
49
# File 'lib/plurimath/math/symbols/paren/rbbrack.rb', line 47

def close?
  false
end

#closingObject



51
52
53
# File 'lib/plurimath/math/symbols/paren/rbbrack.rb', line 51

def closing
  Rbrack
end

#open?Boolean

Returns:

  • (Boolean)


43
44
45
# File 'lib/plurimath/math/symbols/paren/rbbrack.rb', line 43

def open?
  true
end

#to_asciimathObject



23
24
25
# File 'lib/plurimath/math/symbols/paren/rbbrack.rb', line 23

def to_asciimath(**)
  parsing_wrapper("rbbrack", lang: :asciimath)
end

#to_htmlObject



39
40
41
# File 'lib/plurimath/math/symbols/paren/rbbrack.rb', line 39

def to_html(**)
  "⟧"
end

#to_latexObject

output methods



19
20
21
# File 'lib/plurimath/math/symbols/paren/rbbrack.rb', line 19

def to_latex(**)
  "\\rbbrack"
end

#to_mathml_without_math_tag(_) ⇒ Object



31
32
33
# File 'lib/plurimath/math/symbols/paren/rbbrack.rb', line 31

def to_mathml_without_math_tag(_, **)
  ox_element("mi") << encoded
end

#to_omml_without_math_tag(_) ⇒ Object



35
36
37
# File 'lib/plurimath/math/symbols/paren/rbbrack.rb', line 35

def to_omml_without_math_tag(_, **)
  "&#x27e7;"
end

#to_unicodemathObject



27
28
29
# File 'lib/plurimath/math/symbols/paren/rbbrack.rb', line 27

def to_unicodemath(**)
  encoded
end