Class: TsortableHash

Inherits:
Hash
  • Object
show all
Includes:
TSort
Defined in:
lib/tsortable.rb

Instance Method Summary collapse

Instance Method Details

#tsort_each_child(node, &block) ⇒ Object



9
10
11
# File 'lib/tsortable.rb', line 9

def tsort_each_child(node, &block)
  fetch(node).each(&block)
end