Windows Registry

R

Robert

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?
 
T

Tietew

On Tue, 3 Feb 2004 11:45:04 +0900
[Windows Registry]
Robert said:
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: (e-mail address removed) / (e-mail address removed)
Web : http://www.tietew.net/ (Tietew Windows Lab.)
PGP fingerprint: 26CB 71BB B595 09C4 0153 81C4 773C 963A D51B 8CAA
 
R

Robert

Tietew said:
On Tue, 3 Feb 2004 11:45:04 +0900
[Windows Registry]
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: (e-mail address removed) / (e-mail address removed)
Web : http://www.tietew.net/ (Tietew Windows Lab.)
PGP fingerprint: 26CB 71BB B595 09C4 0153 81C4 773C 963A D51B 8CAA
Thanks I will!
 
P

Phil Tomson

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,142
Messages
2,570,819
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top