From: Tanaka Akira Date: 2005-10-26T02:01:59+09:00 Subject: Re: [PATCH] Pathname.exists?() 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. -- Tanaka Akira