Class: Plurimath::UnicodeMath
- Inherits:
-
Object
- Object
- Plurimath::UnicodeMath
- Defined in:
- lib/plurimath/unicode_math.rb,
lib/plurimath/unicode_math/parse.rb,
lib/plurimath/unicode_math/parser.rb,
lib/plurimath/unicode_math/constants.rb,
lib/plurimath/unicode_math/transform.rb,
lib/plurimath/unicode_math/parsing_rules/helper.rb,
lib/plurimath/unicode_math/parsing_rules/masked.rb,
lib/plurimath/unicode_math/parsing_rules/sub_sup.rb,
lib/plurimath/unicode_math/parsing_rules/common_rules.rb,
lib/plurimath/unicode_math/parsing_rules/absence_rules.rb,
lib/plurimath/unicode_math/parsing_rules/constants_rules.rb
Defined Under Namespace
Modules: ParsingRules Classes: Constants, Parse, Parser, Transform
Instance Attribute Summary collapse
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(text) ⇒ UnicodeMath
constructor
A new instance of UnicodeMath.
- #to_formula ⇒ Object
Constructor Details
#initialize(text) ⇒ UnicodeMath
Returns a new instance of UnicodeMath.
7 8 9 |
# File 'lib/plurimath/unicode_math.rb', line 7 def initialize(text) @text = text end |
Instance Attribute Details
#text ⇒ Object
Returns the value of attribute text.
5 6 7 |
# File 'lib/plurimath/unicode_math.rb', line 5 def text @text end |