lib/tasks/rdoc.rake in rconfig-0.4.2 vs lib/tasks/rdoc.rake in rconfig-0.4.3
- old
+ new
@@ -1,11 +1,10 @@
-namespace :rdoc do
+require 'rdoc/task'
- Rake::RDocTask.new(:build) do |rdoc|
+namespace :rdoc do
+ RDoc::Task.new(:build) do |rdoc|
rdoc.rdoc_dir = "doc"
rdoc.main = "README.rdoc"
rdoc.rdoc_files.include("README.rdoc", "lib/**/*.rb")
rdoc.options << "--all"
end
-
end
-