Class: Plurimath::Math::Symbols::Paren::Rcurly
- Inherits:
-
Paren
- Object
- Paren
- Plurimath::Math::Symbols::Paren::Rcurly
- Defined in:
- lib/plurimath/math/symbols/paren/rcurly.rb
Constant Summary collapse
- INPUT =
{ unicodemath: ["}"], asciimath: ["}"], mathml: ["}"], latex: ["\\}"], omml: ["}"], html: ["}"], }.freeze
Instance Method Summary collapse
- #close? ⇒ Boolean
- #open? ⇒ Boolean
- #opening ⇒ Object
- #paren_value ⇒ 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
44 45 46 |
# File 'lib/plurimath/math/symbols/paren/rcurly.rb', line 44 def close? true end |
#open? ⇒ Boolean
40 41 42 |
# File 'lib/plurimath/math/symbols/paren/rcurly.rb', line 40 def open? false end |
#opening ⇒ Object
48 49 50 |
# File 'lib/plurimath/math/symbols/paren/rcurly.rb', line 48 def opening Lcurly end |
#paren_value ⇒ Object
52 53 54 |
# File 'lib/plurimath/math/symbols/paren/rcurly.rb', line 52 def paren_value "}" end |
#to_asciimath ⇒ Object
20 21 22 |
# File 'lib/plurimath/math/symbols/paren/rcurly.rb', line 20 def to_asciimath(**) paren_value end |
#to_html ⇒ Object
36 37 38 |
# File 'lib/plurimath/math/symbols/paren/rcurly.rb', line 36 def to_html(**) paren_value end |
#to_latex ⇒ Object
output methods
16 17 18 |
# File 'lib/plurimath/math/symbols/paren/rcurly.rb', line 16 def to_latex(**) "\\#{paren_value}" end |
#to_mathml_without_math_tag(_) ⇒ Object
28 29 30 |
# File 'lib/plurimath/math/symbols/paren/rcurly.rb', line 28 def to_mathml_without_math_tag(_, **) ox_element("mi") << paren_value end |
#to_omml_without_math_tag(_) ⇒ Object
32 33 34 |
# File 'lib/plurimath/math/symbols/paren/rcurly.rb', line 32 def to_omml_without_math_tag(_, **) paren_value end |
#to_unicodemath ⇒ Object
24 25 26 |
# File 'lib/plurimath/math/symbols/paren/rcurly.rb', line 24 def to_unicodemath(**) Utility.html_entity_to_unicode(paren_value) end |