Class: Plurimath::Math::Symbols::Paren::Rbrace
- Inherits:
-
Paren
- Object
- Paren
- Plurimath::Math::Symbols::Paren::Rbrace
- Defined in:
- lib/plurimath/math/symbols/paren/rbrace.rb
Constant Summary collapse
- INPUT =
{ unicodemath: [["}"], parsing_wrapper(["rbrace"], lang: :unicode)], asciimath: [["}"], parsing_wrapper(["rbrace"], lang: :asciimath)], mathml: ["}"], latex: [["\\rbrace", "}"]], omml: ["}"], html: ["}"], }.freeze
Instance Method Summary collapse
- #close? ⇒ Boolean
- #open? ⇒ Boolean
- #opening ⇒ Object
- #to_asciimath ⇒ Object
- #to_html ⇒ Object
-
#to_latex ⇒ Object
output methods.
- #to_mathml_without_math_tag(_) ⇒ Object
- #to_omml_without_math_tag(_) ⇒ Object
- #to_unicodemath ⇒ Object
Instance Method Details
#close? ⇒ Boolean
46 47 48 |
# File 'lib/plurimath/math/symbols/paren/rbrace.rb', line 46 def close? true end |
#open? ⇒ Boolean
42 43 44 |
# File 'lib/plurimath/math/symbols/paren/rbrace.rb', line 42 def open? false end |
#opening ⇒ Object
50 51 52 |
# File 'lib/plurimath/math/symbols/paren/rbrace.rb', line 50 def opening Lbrace end |
#to_asciimath ⇒ Object
22 23 24 |
# File 'lib/plurimath/math/symbols/paren/rbrace.rb', line 22 def to_asciimath(**) parsing_wrapper("rbrace", lang: :asciimath) end |
#to_html ⇒ Object
38 39 40 |
# File 'lib/plurimath/math/symbols/paren/rbrace.rb', line 38 def to_html(**) "}" end |
#to_latex ⇒ Object
output methods
18 19 20 |
# File 'lib/plurimath/math/symbols/paren/rbrace.rb', line 18 def to_latex(**) "\\rbrace" end |
#to_mathml_without_math_tag(_) ⇒ Object
30 31 32 |
# File 'lib/plurimath/math/symbols/paren/rbrace.rb', line 30 def to_mathml_without_math_tag(_, **) ox_element("mi") << encoded end |
#to_omml_without_math_tag(_) ⇒ Object
34 35 36 |
# File 'lib/plurimath/math/symbols/paren/rbrace.rb', line 34 def to_omml_without_math_tag(_, **) "}" end |
#to_unicodemath ⇒ Object
26 27 28 |
# File 'lib/plurimath/math/symbols/paren/rbrace.rb', line 26 def to_unicodemath(**) encoded end |