Predefined Keys
Class Methods
ext/win32/lib/win32/registry.rb
View on GitHub
# File tmp/rubies/ruby-3.1.3/ext/win32/lib/win32/registry.rb, line 200
def initialize(hkey, keyname)
@hkey = hkey
@parent = nil
@keyname = keyname
@disposition = REG_OPENED_EXISTING_KEY
end
No documentation available
Instance Methods
#
ext/win32/lib/win32/registry.rb
View on GitHub
# File tmp/rubies/ruby-3.1.3/ext/win32/lib/win32/registry.rb, line 213
def class
Registry
end
Fake class
method for Registry#open
, Registry#create
#
ext/win32/lib/win32/registry.rb
View on GitHub
# File tmp/rubies/ruby-3.1.3/ext/win32/lib/win32/registry.rb, line 208
def close
raise Error.new(5) ## ERROR_ACCESS_DENIED
end
Predefined keys cannot be closed