Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Win32::Registry#open?
open?
ext/win32/lib/win32/registry.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/ext/win32/lib/win32/registry.rb, line 511
def open?
!@hkey.nil?
end
Returns if key is not closed.