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...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
[ANN] win32-etc 0.1.0
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password