write_i

write_i(name, value) Instance Public methods Write value to a registry value named name. The value type is REG_SZ(write_s), REG_DWORD(write_i), or REG_BINARY(write_bin).

write_bin

write_bin(name, value) Instance Public methods Write value to a registry value named name. The value type is REG_SZ(write_s), REG_DWORD(write_i), or REG_BINARY(write_bin).

write

write(name, type, data) Instance Public methods Write data to a registry value named name. When name is nil, write to the `default' value. type is type value. (see Registry::Constants module) Class of data must be same as which read method returns.

read_s_expand

read_s_expand(name) Instance Public methods Read a REG_SZ or REG_EXPAND_SZ registry value named name. If the value type is REG_EXPAND_SZ, environment variables are replaced. Unless the value type is REG_SZ or REG_EXPAND_SZ, TypeError is raised.

read_s

read_s(name) Instance Public methods Read a REG_SZ(read_s), REG_DWORD(read_i), or REG_BINARY(read_bin) registry value named name. If the values type does not match, TypeError is raised.

read_i

read_i(name) Instance Public methods Read a REG_SZ(read_s), REG_DWORD(read_i), or REG_BINARY(read_bin) registry value named name. If the values type does not match, TypeError is raised.

read_bin

read_bin(name) Instance Public methods Read a REG_SZ(read_s), REG_DWORD(read_i), or REG_BINARY(read_bin) registry value named name. If the values type does not match, TypeError is raised.

read

read(name, *rtype) Instance Public methods Read a registry value named name and return array of [ type, data ]. When name is nil, the `default' value is read. type is value type. (see Win32::Registry::Constants module) data is value data, its class is: :REG_SZ, REG_EXPAND_SZ String :REG_MULTI_SZ Array of String :REG_DWORD, REG_DWORD_BIG_ENDIAN, REG_QWORD Integer :REG_BINARY String (contains binary data) When rtype is specified, the value type must be included by rtype array, or

open?

open?() Instance Public methods Returns if key is not closed.

open 2

open(subkey, desired = KEY_READ, opt = REG_OPTION_RESERVED, &blk) Instance Public methods Same as ::open (self, subkey, desired, opt)