Class: Plurimath::Mathml
- Inherits:
-
Object
- Object
- Plurimath::Mathml
- Defined in:
- lib/plurimath/mathml.rb,
lib/plurimath/mathml/parser.rb,
lib/plurimath/mathml/constants.rb,
lib/plurimath/mathml/transform.rb
Defined Under Namespace
Classes: Constants, Parser, Transform
Instance Attribute Summary collapse
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(text) ⇒ Mathml
constructor
A new instance of Mathml.
- #to_formula ⇒ Object
Constructor Details
#initialize(text) ⇒ Mathml
Returns a new instance of Mathml.
8 9 10 |
# File 'lib/plurimath/mathml.rb', line 8 def initialize(text) @text = text end |
Instance Attribute Details
#text ⇒ Object
Returns the value of attribute text.
6 7 8 |
# File 'lib/plurimath/mathml.rb', line 6 def text @text end |