Re: File#directory? docs

"Ted Behling" <[email protected]> Tue, 4 May 2010 14:21:32 -0400
Newsgroups gmane.comp.lang.ruby.documentation
Message-ID <[email protected]>
Roger -- I will probably have some doc patches to contribute at some =
point -- is Redmine the preferred way to accept patches?=20

-----Original Message-----
From: Roger Pack [mailto:[email protected]]=20
Sent: Tuesday, May 04, 2010 1:58 PM
To: [email protected]
Subject: Re: File#directory? docs

Sure submit a patch to redmine.ruby-lang.org

On Sat, May 1, 2010 at 12:14 PM, Ilkka Laukkanen =
<[email protected]> wrote:
> Hi,
>
> I just noticed for the first time that if you have a symlink, say=20
> "foo", that points at a directory, both
>
> =A0File.symlink? 'foo'
>
> and
>
> =A0File.directory? 'foo'
>
> return true. While this is a bit misleading in my opinion, it should=20
> definitely be documented in File.directory?. So here's a tiny little=20
> patch against trunk that documents this caveat in File#directory?.
> What do you think?
>
> --
> Ilkka
>