From: James Edward Gray II Date: 2005-10-26T02:30:13+09:00 Subject: Re: [PATCH] Pathname.exists?() On Oct 25, 2005, at 12:01 PM, Tanaka Akira wrote: > In article , > James Edward Gray II writes: > > >> Pathname supports the legacy exist?() method, but not the current >> exists?(). Attached is the one-line fix to add Pathname.exists?(). >> > > Ruby prefer exist? over exists?. > > % ri File.exist\? > ----------------------------------------------------------- > File::exist? > File.exist?(file_name) => true or false > File.exists?(file_name) => true or false (obsolete) > ---------------------------------------------------------------------- > -- > Return +true+ if the named file exists. Oops. I guess it's me who has the wrong behavior. Thanks for the correction. James Edward Gray II