Class: DTK::DSL::ServiceAndComponentInfo::Info

Inherits:
Object
  • Object
show all
Defined in:
lib/dsl/service_and_component_info/info.rb,
lib/dsl/service_and_component_info/info/input_files.rb

Direct Known Subclasses

TransformFrom::Info, TransformTo::Info

Defined Under Namespace

Classes: InputFiles

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(parent) ⇒ Info

Returns a new instance of Info.



24
25
26
27
28
29
# File 'lib/dsl/service_and_component_info/info.rb', line 24

def initialize(parent)
  @parent      = parent
  @module_ref  = parent.module_ref
  # indexed by input file type
  @indexed_input_files = ret_indexed_input_files(info_type)
end

Instance Attribute Details

#indexed_input_filesObject (readonly)

Returns the value of attribute indexed_input_files.



23
24
25
# File 'lib/dsl/service_and_component_info/info.rb', line 23

def indexed_input_files
  @indexed_input_files
end

#module_refObject (readonly)

Returns the value of attribute module_ref.



23
24
25
# File 'lib/dsl/service_and_component_info/info.rb', line 23

def module_ref
  @module_ref
end

Instance Method Details

#compute_outputs!Object



31
32
33
# File 'lib/dsl/service_and_component_info/info.rb', line 31

def compute_outputs!        
  raise Error::NoMethodForConcreteClass.new(self.class)
end

#output_path_text_pairsObject



35
36
37
# File 'lib/dsl/service_and_component_info/info.rb', line 35

def output_path_text_pairs
  @parent.output_path_text_pairs
end