class Bootsnap::LoadPathCache::Path

def to_realpath

def to_realpath
  return self if @real
  realpath = begin
    File.realpath(path)
  rescue Errno::ENOENT
    return self
  end
  if realpath != path
    Path.new(realpath, real: true)
  else
    @real = true
    self
  end
end