Class: CfnDsl::OrchestrationTemplate::RefHash

Inherits:
Hash
  • Object
show all
Includes:
TSort
Defined in:
lib/cfndsl/orchestration_template.rb

Overview

For testing for cycles

Instance Method Summary collapse

Methods inherited from Hash

#ref_children

Methods included from DeepMerge::DeepMergeHash

#deep_merge!

Methods included from RefCheck

#build_references, #ref_children

Instance Method Details

#tsort_each_child(node, &block) ⇒ Object



248
249
250
# File 'lib/cfndsl/orchestration_template.rb', line 248

def tsort_each_child(node, &block)
  fetch(node, []).each(&block)
end