Assume there is a directory, Ratios, that just contains one file, ratios.rb. You could run RDoc without any options or file specifications: rdoc yourFile.rb