Class: Gadget::TsortableHash
Instance Method Summary collapse
Methods inherited from Hash
Instance Method Details
#tsort_each_child(node, &block) ⇒ Object
31 32 33 |
# File 'lib/gadget.rb', line 31 def tsort_each_child(node, &block) (fetch(node) || []).each(&block) end |