From: Ilmari Heikkinen Date: 2004-12-25T14:55:34+09:00 Subject: Re: non-OO realpath, basename, dirname? Hi, On 25.12.2004, at 06:33, David Garamond wrote: > Pathname.new(p).basename.to_s > Pathname.new(p).dirname.to_s File.basename(p) File.dirname(p) > Pathname.new(p).realpath.to_s File.expand_path(p), though it doesn't follow links. The #realpath implementation in pathname.rb does the resolving by itself, so it seems you have to make your own function :I -Ilmari