Class: DTK::DSL::ServiceAndComponentInfo::TransformTo::Parser::ServiceModule::TopDSL

Inherits:
DTK::DSL::ServiceAndComponentInfo::TransformTo::Parser show all
Defined in:
lib/dsl/service_and_component_info/transform_to/parser/service_module/top_dsl.rb

Instance Attribute Summary

Attributes inherited from Parser

#info_object, #output_hash

Instance Method Summary collapse

Methods inherited from Parser

update_output_hash?

Instance Method Details

#update_output_hash?Boolean

Returns:

  • (Boolean)


22
23
24
25
26
27
28
29
30
# File 'lib/dsl/service_and_component_info/transform_to/parser/service_module/top_dsl.rb', line 22

def update_output_hash?
  if module_dsl_canonical_hash = input_file_hash?(:module)
    if assemblies = module_dsl_canonical_hash.val(:Assemblies)
      add_module_info_to_output_hash!
      add_assemblies_to_output_hash!(assemblies)
      output_hash
    end
  end
end