Class: Stepmod::Utils::Converters::ExtDescription
- Inherits:
-
Base
- Object
- Coradoc::Input::Html::Converters::Base
- Base
- Stepmod::Utils::Converters::ExtDescription
- Defined in:
- lib/stepmod/utils/converters/ext_description.rb
Instance Method Summary collapse
Instance Method Details
#to_coradoc(node, state = {}) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/stepmod/utils/converters/ext_description.rb', line 5 def to_coradoc(node, state = {}) state = state.merge(schema_name: node["linkend"], non_flanking_whitesapce: true) child_text = treat_children(node, state).strip <<~TEMPLATE (*"#{node['linkend']}" #{child_text} *) TEMPLATE end |