Windows Registry

  • Follow


Does Ruby come out of the box with ways to handle the Windows registry? 
If not, is there a good add-on that adds the functionality?
0
Reply bobx (95) 2/3/2004 2:44:36 AM

On Tue, 3 Feb 2004 11:45:04 +0900
In article <H7CdnVtNydOJloLdRVn-tw@adelphia.com>
[Windows Registry]
Robert <bobx@linuxmail.org> wrote:

> Does Ruby come out of the box with ways to handle the Windows registry? 
> If not, is there a good add-on that adds the functionality?

ruby 1.8 includes win32/registry.rb to handle Win32 Registry.
just require 'win32/registry.rb'

see comment of this file how to use.


--[ Tietew ]-------------------------------------------------------
Mail: tietew@tietew.net / tietew@raug.net
Web : http://www.tietew.net/  (Tietew Windows Lab.)
PGP fingerprint: 26CB 71BB B595 09C4 0153  81C4 773C 963A D51B 8CAA



0
Reply tietew-ml-ruby-talk (2) 2/3/2004 2:50:38 AM


Tietew wrote:

> On Tue, 3 Feb 2004 11:45:04 +0900
> In article <H7CdnVtNydOJloLdRVn-tw@adelphia.com>
> [Windows Registry]
> Robert <bobx@linuxmail.org> wrote:
> 
> 
>>Does Ruby come out of the box with ways to handle the Windows registry? 
>>If not, is there a good add-on that adds the functionality?
> 
> 
> ruby 1.8 includes win32/registry.rb to handle Win32 Registry.
> just require 'win32/registry.rb'
> 
> see comment of this file how to use.
> 
> 
> --[ Tietew ]-------------------------------------------------------
> Mail: tietew@tietew.net / tietew@raug.net
> Web : http://www.tietew.net/  (Tietew Windows Lab.)
> PGP fingerprint: 26CB 71BB B595 09C4 0153  81C4 773C 963A D51B 8CAA
> 
> 
> 
Thanks I will!
0
Reply bobx (95) 2/3/2004 2:53:56 AM

In article <H7CdnVtNydOJloLdRVn-tw@adelphia.com>,
Robert  <bobx@linuxmail.org> wrote:
>Does Ruby come out of the box with ways to handle the Windows registry? 
>If not, is there a good add-on that adds the functionality?

yes.  ON the Windows distribution, look for registry.rb in the Win32 
library directory.  (require 'win32/registry').

Phil

0
Reply ptkwt (713) 2/3/2004 4:38:49 AM

It can give you a clue ...

http://rubyforge.org/snippet/detail.php?type=snippet&id=13

Robert wrote:

> Does Ruby come out of the box with ways to handle the Windows 
> registry? If not, is there a good add-on that adds the functionality?





0
Reply rodrigo.bermejo (143) 2/3/2004 3:21:51 PM

4 Replies
38 Views

(page loaded in 0.082 seconds)

Similiar Articles:













7/14/2012 9:20:26 AM


Reply: