Class: DTK::DSL::ServiceAndComponentInfo::Parser

Inherits:
Object
  • Object
show all
Defined in:
lib/dsl/service_and_component_info/parser.rb

Direct Known Subclasses

TransformFrom::Parser, TransformTo::Parser

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#info_objectObject (readonly)

Returns the value of attribute info_object.



22
23
24
# File 'lib/dsl/service_and_component_info/parser.rb', line 22

def info_object
  @info_object
end

#output_hashObject (readonly)

Returns the value of attribute output_hash.



22
23
24
# File 'lib/dsl/service_and_component_info/parser.rb', line 22

def output_hash
  @output_hash
end

Class Method Details

.update_output_hash?(output_hash, info_object) ⇒ Boolean

Returns:

  • (Boolean)


30
31
32
33
# File 'lib/dsl/service_and_component_info/parser.rb', line 30

def self.update_output_hash?(output_hash, info_object)
  new(output_hash, info_object).update_output_hash?
  output_hash
end