Class: TSortArray

Inherits:
Array
  • 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



259
260
261
# File 'lib/tsort.rb', line 259

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