# File lib/fakefs/pathname.rb, line 289 def realpath(basedir = nil) self.class.new(File.realpath(@path, basedir)) end