create

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.

doc_ruby_on_rails
2015-06-12 11:19:52
Comments
Leave a Comment

Please login to continue.