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

Inherits:
DTK::DSL::ServiceAndComponentInfo::TransformTo::Parser show all
Defined in:
lib/dsl/service_and_component_info/transform_to/parser/component_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/component_module/top_dsl.rb', line 22

def update_output_hash?
  if module_dsl_canonical_hash = input_file_hash?(:module)
    add_module_info_to_output_hash!
    if component_defs = module_dsl_canonical_hash.val(:ComponentDefs)
      add_components_to_output_hash!(component_defs)
      output_hash
    end
  end
end