Bug #3076
closedlib/rake/rdoctask.rb should be removed
Description
=begin
RDoc provides RDoc::Task (and Rake::RDocTask for backwards compatibility).
This is no longer Rake's responsibility, so it should be removed or changed to require 'rdoc/task'
Also, test/rake/test_rdoc_task.rb should be removed.
This will also fix the following test warnings and errors:
ruby/trunk/lib/rdoc/task.rb:250: warning: already initialized constant RDocTask
-
Failure:
test_inline_source_is_enabled_by_default(Rake::TestRDocTask) [/Users/drbrain/Work/svn/ruby/trunk/test/rake/test_rdoc_task.rb:65]:
Failed assertion, no message given. -
Error:
test_inline_source_option_can_be_disabled(Rake::TestRDocTask):
NoMethodError: undefined methodinline_source=' for #<RDoc::Task:0x00000101150bb0> /Users/drbrain/Work/svn/ruby/trunk/test/rake/test_rdoc_task.rb:81:in
test_inline_source_option_can_be_disabled'
=end