lib/proteus/templates/template_binding.rb
def render_partial(name:, data:, data_context: nil, force_rendering: true, deep_merge: false, scope_resources: nil)
        partial = Partial.new(
          name: name.to_s,
          context: @context,
          environment: @environment,
          module_name: @module_name,
          data: data,
          data_context: data_context,
          force_rendering: force_rendering,
          deep_merge: deep_merge,
          terraform_variables: @terraform_variables,
          scope_resources: scope_resources
        )

        partial.render
      end
# return output of partial template
# name: symbol (template_name)
return output of partial template
name: symbol (template_name)
return output of partial template name : symbol ( template_name )
def render_partial(name:, data:, data_context: nil, force_rendering: true, deep_merge: false, scope_resources: nil)
        partial = Partial.new(
          name: name.to_s,
          context: @context,
          environment: @environment,
          module_name: @module_name,
          data: data,
          data_context: data_context,
          force_rendering: force_rendering,
          deep_merge: deep_merge,
          terraform_variables: @terraform_variables,
          scope_resources: scope_resources
        )
        partial.render
      end
def render_partial ( name : , data : , data_context : nil , force_rendering : true , deep_merge : false , scope_resources : nil ) partial = Partial . new ( name : name . to_s , context : @context , environment : @environment , module_name : @module_name , data : data , data_context : data_context , force_rendering : force_rendering , deep_merge : deep_merge , terraform_variables : @terraform_variables , scope_resources : scope_resources ) partial . render end
return output of partial template
name: symbol (template_name)
return output of partial template name : symbol ( template_name )
name
data
data_context
force_rendering
deep_merge
scope_resources