Class: Choosy::OptionBuilderHash

Inherits:
Hash
  • Object
show all
Includes:
TSort
Defined in:
lib/choosy/base_command.rb

Instance Method Summary collapse

Instance Method Details

#tsort_each_child(node, &block) ⇒ Object



6
7
8
9
# File 'lib/choosy/base_command.rb', line 6

def tsort_each_child(node, &block)
  deps = fetch(node).entity.dependent_options
  deps.each(&block) unless deps.nil?
end