Class: Homebrew::Bundle::BrewDumper::Topo Private

Inherits:
Hash show all
Includes:
TSort
Defined in:
bundle/brew_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

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

#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.



193
194
195
# File 'bundle/brew_dumper.rb', line 193

def tsort_each_child(node, &block)
  fetch(node.downcase).sort.each(&block)
end