Bug #2751
closedWin32::Registry#inspect fails
Description
=begin
Win32::Registry::HKEY_LOCAL_MACHINE.create "Software\classes\#{name}\shell\open_with_redcar"
NoMethodError: undefined method+' for :HKEY_LOCAL_MACHINE:Symbol from E:/installs/ruby191p376/lib/ruby/1.9.1/win32/registry.rb:590:in
name'
from E:/installs/ruby191p376/lib/ruby/1.9.1/win32/registry.rb:596:ininspect' from E:/installs/ruby191p376/bin/irb:12:in
'
my attempted fix:
Index: ext/dl/win32/lib/win32/registry.rb¶
--- ext/dl/win32/lib/win32/registry.rb (revision 26655)
+++ ext/dl/win32/lib/win32/registry.rb (working copy)
@@ -473,7 +473,7 @@
parent = self
name = @keyname
while parent = parent.parent
-
name = parent.keyname + '\\' + name
-
endname = parent.keyname.to_s + '\\' + name end name
=end
Updated by usa (Usaku NAKAMURA) about 14 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
This issue was solved with changeset r27418.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end