From: anti Date: 2008-01-25T19:29:57+09:00 Subject: Re: Check if directory exists On Dec 18 2007, 9:15 am, Florian Schaf wrote: > hi! > Can anyone tell me how I can check whether a directory exists or not? I > didnt find anything via google or in the docs > thanks! > -- > Posted viahttp://www.ruby-forum.com/. if Dir["C:/ruby"] != nil puts 'Yeehoooo !' else puts 'no such directory' end