diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-20 12:34:57 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-20 12:34:57 +0000 |
commit | a3bd9a86e8ae56c021e6dd334fa640b53935725c (patch) | |
tree | 4e25342c67d4e935b4bc3ac58f34ccdcd2d128b1 /ext | |
parent | f0f87d6eebfa4ef713ca150f349d9780a3d13a62 (diff) | |
download | ruby-a3bd9a86e8ae56c021e6dd334fa640b53935725c.tar.gz |
* ext/dl/win32/lib/win32/registry.rb (PredefinedKey#create): root key
name should be a string. fixed [ruby-core:28192]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/dl/win32/lib/win32/registry.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/win32/lib/win32/registry.rb b/ext/dl/win32/lib/win32/registry.rb index 5742d0f376..7b5a469c40 100644 --- a/ext/dl/win32/lib/win32/registry.rb +++ b/ext/dl/win32/lib/win32/registry.rb @@ -198,7 +198,7 @@ For detail, see the MSDN[http://msdn.microsoft.com/library/en-us/sysinfo/base/pr # Make all Constants.constants.grep(/^HKEY_/) do |c| - Registry.const_set c, new(Constants.const_get(c), c) + Registry.const_set c, new(Constants.const_get(c), c.to_s) end end |