From: Daniel Berger Date: 2009-01-13T01:12:27+09:00 Subject: [ruby-core:21278] [Bug #1005] Strange behaviour of File.directory? under Windows Issue #1005 has been updated by Daniel Berger. If it's a bug, it's a bug in the Windows API: irb(main):001:0> require 'windows/path' => true irb(main):002:0> include Windows::Path => Object irb(main):003:0> PathIsDirectory('.') => true irb(main):004:0> PathIsDirectory('..') => true irb(main):005:0> PathIsDirectory('...') => true irb(main):006:0> PathIsDirectory('.......') => true ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1005 ---------------------------------------- http://redmine.ruby-lang.org