create(hkey, subkey, desired = KEY_ALL_ACCESS, opt = REG_OPTION_RESERVED)
Class Public methods
â ::create(key, subkey, desired = KEY_ALL_ACCESS, opt = REG_OPTION_RESERVED)
â ::create(key, subkey, desired = KEY_ALL_ACCESS, opt = REG_OPTION_RESERVED) { |reg| ⦠}
Create or open the registry key subkey under key. You can use predefined key HKEY_* (see Constants)
If subkey is already exists, key is opened and #created? method will return false.
If block is given, the key is closed automatically.
Please login to continue.