Re: File#directory? docs

Arif Jafer <[email protected]> Sun, 2 May 2010 13:38:13 +0430
Newsgroups gmane.comp.lang.ruby.documentation
Message-ID <[email protected]>
--001636b148ebe63507048598d031
Content-Type: text/plain; charset=ISO-8859-1

Sorry I didn't recognize neithor you nor i didn't understood your e-mail.

Your sincerely
Arif Jafer


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

--001636b148ebe63507048598d031
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>Sorry I didn&#39;t recognize neithor you nor i didn&#39;t understood y=
our e-mail.</div>
<div>=A0</div>
<div>Your sincerely</div>
<div>Arif Jafer<br><br>=A0</div>
<div><span class=3D"gmail_quote">On 5/1/10, <b class=3D"gmail_sendername">I=
lkka Laukkanen</b> &lt;<a href=3D"mailto:[email protected]">ilkka=
[email protected]</a>&gt; wrote:</span>
<blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0=
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>I just noticed for th=
e first time that if you have a symlink, say<br>&quot;foo&quot;, that point=
s at a directory, both<br>
<br>File.symlink? &#39;foo&#39;<br><br>and<br><br>File.directory? &#39;foo&=
#39;<br><br>return true. While this is a bit misleading in my opinion, it s=
hould<br>definitely be documented in File.directory?. So here&#39;s a tiny =
little<br>
patch against trunk that documents this caveat in File#directory?.<br>What =
do you think?<br><br>--<br>Ilkka<br><br></blockquote></div><br>

--001636b148ebe63507048598d031--