Hi all,
I’m happy to announce the release of win32-etc. This
is actually the sys-win32etc module rereleased as part
of the win32utils project. In addition, there was
some code and test cleanup.
What is it?
···
===========
This module provides the ‘etc’ module functionality
for the Win32 platform.
Synopsis
require "win32/etc"
include Win32
puts "Login: " + Etc.getlogin
p Etc.getpwnam(“Guest”)
p Etc.getpwuid(512)
p Etc.getgrnam(“Guests”)
p Etc.getgrgid(500)
Etc.passwd{ |s|
p s
}
Etc.group{ |g|
p g
}
For more info, see
http://rubyforge.org/projects/win32utils/. Also
available on the RAA.
Enjoy!
Dan
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com