Class: Stepmod::Utils::Converters::Sub
- Inherits:
-
Coradoc::Input::Html::Converters::Sub
- Object
- Coradoc::Input::Html::Converters::Sub
- Stepmod::Utils::Converters::Sub
- Defined in:
- lib/stepmod/utils/converters/sub.rb
Instance Method Summary collapse
Instance Method Details
#to_coradoc(node, state = {}) ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/stepmod/utils/converters/sub.rb', line 7 def to_coradoc(node, state = {}) if state[:equation] stem_notation(treat_children(node, state)) else super(node, state) end end |