Zach Dennis
2/4/2005 6:33:00 PM
Daniel Berger wrote:
> I've tested it on FreeBSD and HP-UX as well.
>
> No, it doesn't work on Windows. I've been mulling over a
> win32-filesystem package for win32utils, but I don't know that it's
> realistic to keep a unified API between *nix and Win32. But, I'll mull
> it over.
I'd think their should be a unified API in the ruby library for getting
this information, rather then have two separate methods in potentially
two separate packages for accessing this information long term depending
on whether you're on a *nix or windows machine. Let's make this easier
on the developer, thus making ruby more attractive for developers from
other languages.
Short term if a method is added to the win32utils then I would think
that is good to have, but ultimately consistency and transparency to the
user (developer) would be the ultimate goal. IMO
Zach