Roger Pack
2009-Aug-01 13:50 UTC
[Rubyinstaller-devel] File.executable?(directory) == true?
I noticed this behavior in ruby on windows: C:\dev\ruby>mkdir go C:\dev\ruby>ruby -e ''puts File.executable?("go")'' true Is this worthy of complaint, does anyone think? :) =r
Luis Lavena
2009-Aug-01 16:44 UTC
[Rubyinstaller-devel] File.executable?(directory) == true?
On Sat, Aug 1, 2009 at 10:50 AM, Roger Pack<rogerdpack at gmail.com> wrote:> I noticed this behavior in ruby on windows: > C:\dev\ruby>mkdir go > > C:\dev\ruby>ruby -e ''puts File.executable?("go")'' > true > > Is this worthy of complaint, does anyone think? :) >http://groups.google.com/group/rubyspec/browse_thread/thread/2e2b21b73aca5fcc# Most of the File methods are flawed on Windows, not because attributes but also the lack of ACL knowledge. -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exup?ry