Sha256: bf20329bb58d7f01086f65c39d8cbbb4333b049a625ed08c746f86613d2264aa

Contents?: true

Size: 438 Bytes

Versions: 13

Compression:

Stored size: 438 Bytes

Contents

# frozen_string_literal: true

module Stepmod
  module Utils
    module Converters
      class FundCons < Stepmod::Utils::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

13 entries across 13 versions & 1 rubygems

Version Path
stepmod-utils-0.6.6 lib/stepmod/utils/converters/fund_cons.rb
stepmod-utils-0.6.5 lib/stepmod/utils/converters/fund_cons.rb
stepmod-utils-0.6.3 lib/stepmod/utils/converters/fund_cons.rb
stepmod-utils-0.6.2 lib/stepmod/utils/converters/fund_cons.rb
stepmod-utils-0.6.1 lib/stepmod/utils/converters/fund_cons.rb
stepmod-utils-0.6.0 lib/stepmod/utils/converters/fund_cons.rb
stepmod-utils-0.5.0 lib/stepmod/utils/converters/fund_cons.rb
stepmod-utils-0.4.14 lib/stepmod/utils/converters/fund_cons.rb
stepmod-utils-0.4.13 lib/stepmod/utils/converters/fund_cons.rb
stepmod-utils-0.4.12 lib/stepmod/utils/converters/fund_cons.rb
stepmod-utils-0.4.11 lib/stepmod/utils/converters/fund_cons.rb
stepmod-utils-0.4.10 lib/stepmod/utils/converters/fund_cons.rb
stepmod-utils-0.4.9 lib/stepmod/utils/converters/fund_cons.rb