class DTK::DSL::FileGenerator

Public Class Methods

generate_yaml_file_path__content_array(parse_template_type, top_file_path, content_input, dsl_version, opts = {}) click to toggle source

opts can have keys

:filter
# File lib/dsl/file_generator.rb, line 40
def self.generate_yaml_file_path__content_array(parse_template_type, top_file_path, content_input, dsl_version, opts = {})
  template_class = Template.template_class(parse_template_type, dsl_version)
  template_class.create_for_generation(content_input, opts).generate_yaml_file_path__content_array(top_file_path)
end
generate_yaml_object(parse_template_type, content_input, dsl_version, opts = {}) click to toggle source

opts can have keys

:filter
# File lib/dsl/file_generator.rb, line 26
def self.generate_yaml_object(parse_template_type, content_input, dsl_version, opts = {})
  template_class = Template.template_class(parse_template_type, dsl_version)
  template_class.create_for_generation(content_input, opts).generate_yaml_object
end
generate_yaml_text(parse_template_type, content_input, dsl_version, opts = {}) click to toggle source

opts can have keys

:filter
# File lib/dsl/file_generator.rb, line 33
def self.generate_yaml_text(parse_template_type, content_input, dsl_version, opts = {})
  template_class = Template.template_class(parse_template_type, dsl_version)
  template_class.create_for_generation(content_input, opts).generate_yaml_text
end