Module: DumpHash

Defined in:
lib/metadata/util/win32/ms-registry.rb

Class Method Summary collapse

Class Method Details

.SortPrint(hash, prefix = :UKN) ⇒ Object



647
648
649
650
651
# File 'lib/metadata/util/win32/ms-registry.rb', line 647

def self.SortPrint(hash, prefix = :UKN)
  return unless DEBUG_PRINT
  $log.debug "#{prefix}(RAW): ========"
  hash.sort { |a, b| a.to_s <=> b.to_s }.each { |x, y| $log.debug "#{prefix}(#{x})\t\t= #{y}" }
end