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