require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "Radius #{version}" rdoc.main = "README.rdoc" rdoc.rdoc_files.include('*.rdoc') rdoc.rdoc_files.include('LICENSE') rdoc.rdoc_files.include('CHANGELOG') rdoc.rdoc_files.include('QUICKSTART.rdoc') rdoc.rdoc_files.include('lib/**/*.rb') end