TSort

TSort is used to determine which prerequisites to run for a task.

Here we add a convenience method —if such a long method name can be said to be convenient ;) Although we ended not using it after all —it still may proved useful and may eventually be added to Facets or submitted as a patch.

Methods
Public Instance methods
strongly_connected_components_from(node)
# File lib/facets/more/taskable.rb, line 38
  def strongly_connected_components_from(node)
    result = []
    each_strongly_connected_component_from(node) do |component|
      result << component
    end
    result
  end