Class: Plurimath::Math::Symbols::Paren::Lbrace
- Inherits:
-
Paren
- Object
- Paren
- Plurimath::Math::Symbols::Paren::Lbrace
- Defined in:
- lib/plurimath/math/symbols/paren/lbrace.rb
Constant Summary collapse
- INPUT =
{ unicodemath: [["{", "lbrace"]], asciimath: [["{"], parsing_wrapper(["lbrace"], lang: :asciimath)], mathml: ["{"], latex: [["\\lbrace", "{"]], omml: ["{"], html: ["{"], }.freeze
Instance Method Summary collapse
- #close? ⇒ Boolean
- #closing ⇒ Object
- #open? ⇒ Boolean
- #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
45 46 47 |
# File 'lib/plurimath/math/symbols/paren/lbrace.rb', line 45 def close? false end |
#closing ⇒ Object
49 50 51 |
# File 'lib/plurimath/math/symbols/paren/lbrace.rb', line 49 def closing Rbrace end |
#open? ⇒ Boolean
41 42 43 |
# File 'lib/plurimath/math/symbols/paren/lbrace.rb', line 41 def open? true end |
#to_asciimath ⇒ Object
21 22 23 |
# File 'lib/plurimath/math/symbols/paren/lbrace.rb', line 21 def to_asciimath(**) parsing_wrapper("lbrace", lang: :asciimath) end |
#to_html ⇒ Object
37 38 39 |
# File 'lib/plurimath/math/symbols/paren/lbrace.rb', line 37 def to_html(**) "{" end |
#to_latex ⇒ Object
output methods
17 18 19 |
# File 'lib/plurimath/math/symbols/paren/lbrace.rb', line 17 def to_latex(**) "\\lbrace" end |
#to_mathml_without_math_tag(_) ⇒ Object
29 30 31 |
# File 'lib/plurimath/math/symbols/paren/lbrace.rb', line 29 def to_mathml_without_math_tag(_, **) ox_element("mi") << encoded end |
#to_omml_without_math_tag(_) ⇒ Object
33 34 35 |
# File 'lib/plurimath/math/symbols/paren/lbrace.rb', line 33 def to_omml_without_math_tag(_, **) "{" end |
#to_unicodemath ⇒ Object
25 26 27 |
# File 'lib/plurimath/math/symbols/paren/lbrace.rb', line 25 def to_unicodemath(**) encoded end |