Class: DTK::DSL::ServiceAndComponentInfo::TransformTo::Parser::ModuleRefs

Inherits:
DTK::DSL::ServiceAndComponentInfo::TransformTo::Parser show all
Defined in:
lib/dsl/service_and_component_info/transform_to/parser/module_refs.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)


21
22
23
24
25
26
27
28
# File 'lib/dsl/service_and_component_info/transform_to/parser/module_refs.rb', line 21

def update_output_hash?
  if module_dsl_canonical_hash = input_file_hash?(:module)
    if dependencies = module_dsl_canonical_hash.val(:DependentModules)
      add_dependencies_to_output_hash!(dependencies)
      output_hash
    end
  end
end