Sha256: 82623871a4a5634669ed58d8cda59d4f18d8a0495827e241432db187b20175c8
Contents?: true
Size: 170 Bytes
Versions: 16
Compression:
Stored size: 170 Bytes
Contents
require 'tsort' class Graph < Hash include TSort alias tsort_each_node each_key def tsort_each_child(node, &block) fetch(node) { [] }.each(&block) end end
Version data entries
16 entries across 16 versions & 1 rubygems