class RDoc::RI::Driver

def in_path? file

def in_path? file
  return true if file =~ %r%\A/% and File.exist? file
  ENV['PATH'].split(File::PATH_SEPARATOR).any? do |path|
    File.exist? File.join(path, file)
  end
end