class TsortableHash

Hash that topologically sorts itself upon insertion of a key

Public Instance Methods

tsort_each_child(node, &block) click to toggle source
# File lib/cpp_dependency_graph/tsortable_hash.rb, line 10
def tsort_each_child(node, &block)
  fetch(node).each(&block)
end