Class: MotionBlender::DependencyGraph

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

Instance Method Summary collapse

Instance Method Details

#tsort_each_child(node, &block) ⇒ Object



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

def tsort_each_child node, &block
  (self[node] || []).each(&block)
end