On Oct 25, 2005, at 12:01 PM, Tanaka Akira wrote: > In article <FCA1C394-E968-4229-BA31-9ECE81E79E7B / grayproductions.net>, > James Edward Gray II <james / grayproductions.net> 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