Method: Ritex::Parser#initialize
- Defined in:
- lib/ritex.rb
#initialize(format = :mathml) ⇒ Parser
format is the desired output format and must be in the FORMATS list. Right now that’s just :mathml.
39 40 41 42 43 |
# File 'lib/ritex.rb', line 39 def initialize format = :mathml self.format = format @macros = {} @merror = false end |