Class: Stepmod::Utils::Converters::Eqn
- Defined in:
- lib/stepmod/utils/converters/eqn.rb
Constant Summary collapse
- TAGS_NOT_IN_CONTEXT =
%w[b i].freeze
Constants inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#convert(node, state = {}) ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/stepmod/utils/converters/eqn.rb', line 12 def convert(node, state = {}) cloned_node = node.clone if definition_node?(cloned_node) return definition_converted(cloned_node, state) end equation_converted = stem_converted(cloned_node, state) log_equation(node, state, equation_converted) equation_converted end |