Sha256: 83761828a6aae8f9ecccea9c49412e8ec1474f19ef7818b01843e99919987c6f
Contents?: true
Size: 465 Bytes
Versions: 38
Compression:
Stored size: 465 Bytes
Contents
# frozen_string_literal: true module Stepmod module Utils module Converters class Schema < ReverseAdoc::Converters::Base def convert(node, state = {}) state = state.merge(schema_name: node["name"]) <<~TEMPLATE (*"#{node['name']}" #{treat_children(node, state).strip} *) TEMPLATE end end ReverseAdoc::Converters.register :schema, Schema.new end end end
Version data entries
38 entries across 38 versions & 1 rubygems