🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.ruby
Article #30

Re: File.exists? zwraca pierdoly

#30
From: Marcin Mielżyński
Date: Mon, 10 Jul 2006 11:22
10 lines
1198 bytes
Jaroslaw Zabiello wrote:
> Zauwazylem, ze File.exists?(filepath) dla filepath wskazujacego na folder
> zwraca true. To jakis idiotyzm. Testowane pod Linuksem (CentOS, Ruby 1.8.4)
> 

a od kiedy to katalog nie jest plikiem ?

http://ruby-doc.org/core/classes/FileTest.html#M002390

lopex
Technical Details
Message-ID: <e8td91$fd6$1@news.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!newsfeed.silweb.pl!news.onet.pl!not-for-mail
References: <k4sidf3tkvwf$.19l8yzf5p6cww$.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!newsfeed.silweb.pl!news.onet.pl!not-for-mail
From: Marcin Mielżyński <lopx@gazeta.pl>
Newsgroups: pl.comp.lang.ruby
Subject: Re: File.exists? zwraca pierdoly
Date: Mon, 10 Jul 2006 13:22:21 +0200
Organization: Onet.pl
Lines: 10
Message-ID: <e8td91$fd6$1@news.onet.pl>
References: <k4sidf3tkvwf$.19l8yzf5p6cww$.dlg@40tude.net>
NNTP-Posting-Host: cuo178.internetdsl.tpnet.pl
Mime-Version: 1.0
X-Trace: news.onet.pl 1152530529 15782 83.19.70.178 (10 Jul 2006 11:22:09 GMT)
X-Complaints-To: usenet@news.onet.pl
NNTP-Posting-Date: Mon, 10 Jul 2006 11:22:09 +0000 (UTC)
X-Sender: 5Da2qcG7AWj7WISFX859Php/OS6q4VnB
In-Reply-To: <k4sidf3tkvwf$.19l8yzf5p6cww$.dlg@40tude.net>
User-Agent: Thunderbird 1.5.0.2 (Windows/20060308)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit