require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  rdoc.title = <%= @name.dump %>
end
task :doc => :rdoc

require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
  rdoc.title = <%= @name.dump %>
end
task :doc => :rdoc

Use the newer 'rdoc/task'. 'rake/rdoctask' is deprecated.
Use the newer 'rdoc/task'. 'rake/rdoctask' is deprecated.
