Class: DTK::DSL::ServiceAndComponentInfo::TransformFrom::Parser::TopDSL::Dependencies
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
22
23
24
25
26
27
28
|
# File 'lib/dsl/service_and_component_info/transform_from/parser/top_dsl/dependencies.rb', line 22
def update_output_hash?
module_refs_input_hash = input_file_hash?(:module_refs) || {}
unless module_refs_input_hash.empty?
existing_module_refs = output_hash['dependencies'] ||= {}
merge_in_new_module_refs!(existing_module_refs, module_refs_input_hash)
end
end
|