Sha256: 4590e0203d5819d343c99afbac0d693b2d2ae6e4bc8dea55e56d46ebba40fa55
Contents?: true
Size: 500 Bytes
Versions: 6
Compression:
Stored size: 500 Bytes
Contents
module Stepmod module Utils module Converters class ExtDescription < ReverseAdoc::Converters::Base def convert(node, state = {}) state = state.merge(schema_name: node["linkend"]) 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