Class: Monsanto::TsortableHash
- Inherits:
-
Hash
- Object
- Hash
- Monsanto::TsortableHash
- Includes:
- TSort
- Defined in:
- lib/monsanto/tsortable.rb
Instance Method Summary collapse
Instance Method Details
#tsort_each_child(node, &block) ⇒ Object
10 11 12 |
# File 'lib/monsanto/tsortable.rb', line 10 def tsort_each_child(node, &block) fetch(node).each(&block) end |