Class: Homebrew::Bundle::FormulaDumper::Topo Private
- Includes:
 - TSort
 
- Defined in:
 - bundle/formula_dumper.rb
 
This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.
Instance Method Summary collapse
- #each_key(&block) ⇒ Object (also: #tsort_each_node) private
 - #tsort_each_child(node, &block) ⇒ Object private
 
Methods inherited from Hash
#assert_valid_keys, #blank?, #compact_blank, #deep_dup, #deep_merge, #deep_merge!, #deep_stringify_keys, #deep_stringify_keys!, #deep_symbolize_keys, #deep_symbolize_keys!, #deep_transform_keys, #deep_transform_keys!, #deep_transform_values, #deep_transform_values!, #present?
Instance Method Details
#each_key(&block) ⇒ Object Also known as: tsort_each_node
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
      192 193 194  | 
    
      # File 'bundle/formula_dumper.rb', line 192 def each_key(&block) keys.each(&block) end  | 
  
#tsort_each_child(node, &block) ⇒ Object
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
      197 198 199  | 
    
      # File 'bundle/formula_dumper.rb', line 197 def tsort_each_child(node, &block) fetch(node.downcase).sort.each(&block) end  |