Sha256: 185347f38203a10240d927c64cda613f68a6145c722a82a0d943057070da5f07

Contents?: true

Size: 446 Bytes

Versions: 2

Compression:

Stored size: 446 Bytes

Contents

# frozen_string_literal: true

module Stepmod
  module Utils
    module Converters
      class ExpressNote < ReverseAdoc::Converters::Base
        def convert(node, state = {})
          <<~TEMPLATE

            (*"#{state[:schema_and_entity]}.__note"
            #{treat_children(node, state).strip}
            *)
          TEMPLATE
        end
      end

      ReverseAdoc::Converters.register :express_note, ExpressNote.new
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stepmod-utils-0.4.8 lib/stepmod/utils/converters/express_note.rb
stepmod-utils-0.4.7 lib/stepmod/utils/converters/express_note.rb