Sha256: 0b7eed7fc640867522f49435b886ce40e6b4f0dca1f4d52b30146a75a83ff867
Contents?: true
Size: 534 Bytes
Versions: 6
Compression:
Stored size: 534 Bytes
Contents
module Stepmod module Utils module Converters class ExtDescription < Stepmod::Utils::Converters::Base def convert(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 end ReverseAdoc::Converters.register :ext_description, ExtDescription.new end end end
Version data entries
6 entries across 6 versions & 1 rubygems