delete

delete(name) Instance Public methods Alias for: delete_value

created?

created?() Instance Public methods Returns if key is created ((newly)). (see ::create) â basically you call create then when you call created? on the instance returned it will tell if it was successful or not

create 2

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

close

close() Instance Public methods Close key. After close, most method raise an error.

_dump

_dump(depth) Instance Public methods marshalling is not allowed

[]=

[]=(name, rtype, value = nil) Instance Public methods Write value to a registry value named name. If wtype is specified, the value type is it. Otherwise, the value type is depend on class of value: :Integer REG_DWORD :String REG_SZ :Array REG_MULTI_SZ

[]

[](name, *rtype) Instance Public methods Read a registry value named name and return its value data. The class of value is same as read method returns. If the value type is REG_EXPAND_SZ, returns value data whose environment variables are replaced. If the value type is neither REG_SZ, REG_MULTI_SZ, REG_DWORD, REG_DWORD_BIG_ENDIAN, nor REG_QWORD, TypeError is raised. The meaning of rtype is same as read method.

wtime2time

wtime2time(wtime) Class Public methods Convert 64-bit FILETIME integer into Time object.

type2name

type2name(type) Class Public methods Convert registry type value to readable string.

time2wtime

time2wtime(time) Class Public methods Convert Time object or Integer object into 64-bit FILETIME.