Sha256: 0d7b3389cea0fb64d962a7b983e262a4e43fd463de9e7994a5e9d9cbf4e1f3ee

Contents?: true

Size: 434 Bytes

Versions: 7

Compression:

Stored size: 434 Bytes

Contents

# frozen_string_literal: true

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

            *)
            (*"#{state.fetch(:schema_name)}.__fund_cons"

            #{treat_children(node, state).strip}
          TEXT
        end
      end

      ReverseAdoc::Converters.register :fund_cons, FundCons.new
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
stepmod-utils-0.3.5 lib/stepmod/utils/converters/fund_cons.rb
stepmod-utils-0.3.4 lib/stepmod/utils/converters/fund_cons.rb
stepmod-utils-0.3.2 lib/stepmod/utils/converters/fund_cons.rb
stepmod-utils-0.3.1 lib/stepmod/utils/converters/fund_cons.rb
stepmod-utils-0.3.0 lib/stepmod/utils/converters/fund_cons.rb
stepmod-utils-0.2.7 lib/stepmod/utils/converters/fund_cons.rb
stepmod-utils-0.2.6 lib/stepmod/utils/converters/fund_cons.rb