Methods

Class/Module Index [+]

Quicksearch

Facter::Util::Registry

Public Class Methods

hklm_read(key, value) click to toggle source
# File lib/facter/util/registry.rb, line 3
def hklm_read(key, value)
  require 'win32/registry'
  reg = Win32::Registry::HKEY_LOCAL_MACHINE.open(key)
  rval = reg[value]
  reg.close
  rval
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.