Provide win32/registry library
------------------------------

                 Key: JRUBY-4324
                 URL: http://jira.codehaus.org/browse/JRUBY-4324
             Project: JRuby
          Issue Type: New Feature
          Components: Windows
    Affects Versions: JRuby 1.4
         Environment: Latest JRuby
            Reporter: Vladimir Sizikov
            Assignee: Vladimir Sizikov
             Fix For: JRuby 1.5


So that the following should work:

{code}
require 'win32/registry'
Win32::Registry::HKEY_CURRENT_USER.open('Environment', 
Win32::Registry::KEY_ALL_ACCESS) do |reg|
  puts "HOME = #{reg['HOME']}"
end
{code}

Currently, JRuby just fails: winapi.rb:3:in `require': no such file to load -- 
win32/registry (LoadError)

Will fix.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to