Class: MotionRequire::DependencyHash

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

Instance Method Summary collapse

Instance Method Details

#tsort_each_child(k) ⇒ Object



11
12
13
# File 'lib/motion_require/dependency_graph.rb', line 11

def tsort_each_child(k)
  self[k].each { |p| yield p } if has_key?(k)
end