Class: Sprig::TsortableHash
- Inherits:
-
Hash
- Object
- Hash
- Sprig::TsortableHash
- Includes:
- TSort
- Defined in:
- lib/sprig/tsortable_hash.rb
Instance Method Summary collapse
Instance Method Details
#tsort_each_child(node, &block) ⇒ Object
7 8 9 |
# File 'lib/sprig/tsortable_hash.rb', line 7 def tsort_each_child(node, &block) fetch(node).each(&block) end |