Class: TSortHash

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

Overview

:nodoc:

Instance Method Summary collapse

Methods included from TSort

#each_strongly_connected_component, #each_strongly_connected_component_from, #strongly_connected_components, #tsort, #tsort_each

Instance Method Details

#tsort_each_child(node, &block) ⇒ Object



251
252
253
# File 'lib/tsort.rb', line 251

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