class DTK::DSL::ServiceAndComponentInfo::TransformTo::Info::InputFiles
Public Instance Methods
add_canonical_hash_content!(path, canonical_hash_content)
click to toggle source
# File lib/dsl/service_and_component_info/transform_to/info/input_files.rb, line 21 def add_canonical_hash_content!(path, canonical_hash_content) raise_error_if_not_canonical_hash(canonical_hash_content) add_hash_content!(path, canonical_hash_content) end
Private Instance Methods
raise_error_if_not_canonical_hash(obj)
click to toggle source
# File lib/dsl/service_and_component_info/transform_to/info/input_files.rb, line 28 def raise_error_if_not_canonical_hash(obj) unless obj.kind_of?(InputOutputCommon::Canonical::Hash) raise Error, "Expecting input of type 'InputOutputCommon::Canonical::Hash', but '#{obj.class}' was given" end end