Class: Masamune::TopologicalHash

Inherits:
Hash
  • Object
show all
Includes:
TSort
Defined in:
lib/masamune/topological_hash.rb

Instance Method Summary collapse

Instance Method Details

#tsort_each_child(node, &block) ⇒ Object



30
31
32
# File 'lib/masamune/topological_hash.rb', line 30

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