module EasyIO::Registry
Public Instance Methods
key_exists?(path)
click to toggle source
# File lib/easy_io/registry.rb, line 9 def key_exists?(path) Win32::Registry::HKEY_LOCAL_MACHINE.open(path, ::Win32::Registry::KEY_READ) true rescue false end
read(key_path, value_name)
click to toggle source
# File lib/easy_io/registry.rb, line 5 def read(key_path, value_name) ::Win32::Registry::HKEY_LOCAL_MACHINE.open(key_path, ::Win32::Registry::KEY_READ).read_s(value_name) end