Module | MathML::String |
In: |
lib/math_ml/string.rb
|
# File lib/math_ml/string.rb, line 14 14: def self.mathml_latex_parser 15: @@mathml_latex_parser = MathML::LaTeX::Parser.new unless @@mathml_latex_parser 16: @@mathml_latex_parser 17: end
# File lib/math_ml/string.rb, line 19 19: def self.mathml_latex_parser=(mlp) 20: raise TypeError unless mlp.is_a?(MathML::LaTeX::Parser) || mlp==nil 21: @@mathml_latex_parser = mlp 22: end