Class: Stepmod::Utils::Converters::FundCons

Inherits:
Base
  • Object
show all
Defined in:
lib/stepmod/utils/converters/fund_cons.rb

Constant Summary

Constants inherited from Base

Base::PREFIXES_REGEX

Instance Method Summary collapse

Methods inherited from Base

#treat_children

Instance Method Details

#convert(node, state = {}) ⇒ Object



7
8
9
10
11
12
13
14
15
# File 'lib/stepmod/utils/converters/fund_cons.rb', line 7

def convert(node, state = {})
  <<~TEXT

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

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