[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] win32-etc 0.1.0

Daniel Berger

10/24/2003 5:40:00 PM

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/w.... Also
available on the RAA.

Enjoy!

Dan

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping...