Sha256: f0ed11a1bb6cec57be684d8cd7869a60ebc5cdfb440e09b308a767c10b0fcd28

Contents?: true

Size: 445 Bytes

Versions: 26

Compression:

Stored size: 445 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

26 entries across 26 versions & 1 rubygems

Version Path
stepmod-utils-0.4.6 lib/stepmod/utils/converters/express_note.rb
stepmod-utils-0.4.5 lib/stepmod/utils/converters/express_note.rb
stepmod-utils-0.4.2 lib/stepmod/utils/converters/express_note.rb
stepmod-utils-0.4.1 lib/stepmod/utils/converters/express_note.rb
stepmod-utils-0.4.0 lib/stepmod/utils/converters/express_note.rb
stepmod-utils-0.3.37 lib/stepmod/utils/converters/express_note.rb
stepmod-utils-0.3.36 lib/stepmod/utils/converters/express_note.rb
stepmod-utils-0.3.35 lib/stepmod/utils/converters/express_note.rb
stepmod-utils-0.3.34 lib/stepmod/utils/converters/express_note.rb
stepmod-utils-0.3.33 lib/stepmod/utils/converters/express_note.rb
stepmod-utils-0.3.32 lib/stepmod/utils/converters/express_note.rb
stepmod-utils-0.3.31 lib/stepmod/utils/converters/express_note.rb
stepmod-utils-0.3.30 lib/stepmod/utils/converters/express_note.rb
stepmod-utils-0.3.29 lib/stepmod/utils/converters/express_note.rb
stepmod-utils-0.3.28 lib/stepmod/utils/converters/express_note.rb
stepmod-utils-0.3.27 lib/stepmod/utils/converters/express_note.rb
stepmod-utils-0.3.26 lib/stepmod/utils/converters/express_note.rb
stepmod-utils-0.3.25 lib/stepmod/utils/converters/express_note.rb
stepmod-utils-0.3.24 lib/stepmod/utils/converters/express_note.rb
stepmod-utils-0.3.23 lib/stepmod/utils/converters/express_note.rb