lib/pg_trunk/core/dependencies_resolver.rb
# Use topological sorting algorithm to resolve dependencies
# @return [Array<#oid>]
Use topological sorting algorithm to resolve dependencies
Use topological sorting algorithm to resolve dependencies
def sorted
      @sorted ||= [].tap do |output|
        while (object = next_unvisited)
          visit(object, output)
        end
      end
    end
def sorted @sorted ||= [ ] . tap do | output | while ( object = next_unvisited ) visit ( object , output ) end end end
Use topological sorting algorithm to resolve dependencies
Use topological sorting algorithm to resolve dependencies
None
Array<#oid>