class DTK::Client::ServiceAndComponentInfo::TransformFrom

Public Class Methods

new(content_dir, module_ref, version) click to toggle source
# File lib/client/service_and_component_info/transform_from.rb, line 24
def initialize(content_dir, module_ref, version)
  @content_dir          = content_dir
  @module_ref           = module_ref
  @version              = version
  @dtk_dsl_parse_helper = dtk_dsl_transform_class.new(module_ref.namespace, module_ref.module_name, version)
end

Public Instance Methods

info_processor(info_type) click to toggle source
# File lib/client/service_and_component_info/transform_from.rb, line 31
def info_processor(info_type)
  Info.create(info_type, @content_dir, @dtk_dsl_parse_helper)
end
output_path_text_pairs() click to toggle source
# File lib/client/service_and_component_info/transform_from.rb, line 35
def output_path_text_pairs
  @dtk_dsl_parse_helper.output_path_text_pairs
end

Private Instance Methods

dtk_dsl_transform_class() click to toggle source
# File lib/client/service_and_component_info/transform_from.rb, line 41
def dtk_dsl_transform_class
  ::DTK::DSL::ServiceAndComponentInfo::TransformFrom
end