tsort_each()
Instance Public methods
The iterator version of the tsort
method. obj.tsort_each
is similar to
obj.tsort.each
, but modification of obj
during the iteration may lead to unexpected results.
tsort_each returns
nil
. If there is a cycle, TSort::Cyclic is raised.
Please login to continue.