Class: DTK::DSL::ServiceAndComponentInfo::TransformFrom::Parser::TopDSL::Components

Inherits:
DTK::DSL::ServiceAndComponentInfo::TransformFrom::Parser::TopDSL show all
Defined in:
lib/dsl/service_and_component_info/transform_from/parser/top_dsl/components.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
# File 'lib/dsl/service_and_component_info/transform_from/parser/top_dsl/components.rb', line 22

def update_output_hash?
  if component_dsl_input_hash = input_file_hash?(:component_dsl_file)
    if component_defs = component_dsl_input_hash['components']
      output_hash['component_defs'] = component_defs
    end
  end
end