Berger, Daniel
10/30/2003 4:18:00 PM
> -----Original Message-----
> From: Gavin Sinclair [mailto:gsinclair@soyabean.com.au]
> Sent: Wednesday, October 29, 2003 11:21 PM
> To: ruby-talk@ruby-lang.org
> Subject: Re: [ANN] win32-file 0.1.0
>
>
> > Hi all,
> >
> > I am happy to announce the release of win32-file
> > 0.1.0. This package provides additional methods for
> > the File class specific to the Win32 platform, mostly
> > related to file/directory attribute information.
>
> Good work.
Thanks :)
> > Synopsis
> > ========
> > require "win32/file"
> >
> > some_file = "C:\\Documents and
> Settings\\some_user\\fruitylicious.txt"
> >
> > Win32::File.attributes(some_file) # e.g. ['hidden','archive']
>
> Why not use symbols instead?
Dunno - didn't think it really mattered. Does it?
>
> > Win32::File.short_path(some_file) # "fruity~1.txt"
>
> *shudder* :)
:-P
Regards,
Dan