Class: TopologicalStatements

Inherits:
Hash show all
Includes:
TSort
Defined in:
lib/core/statement/TopologicalStatements.rb

Overview

Instance Method Summary collapse

Methods inherited from Hash

#copy, #write

Instance Method Details

#tsort_each_child(node, &block) ⇒ Object



29
30
31
# File 'lib/core/statement/TopologicalStatements.rb', line 29

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