Permalink
Browse files

Add missing colon to RDoc::Task

  • Loading branch information...
1 parent cdcaa98 commit 7f7b2b27615a7812433a23ae559afb72fba0e4bd @jsntv200 jsntv200 committed Feb 3, 2012
Showing with 4 additions and 4 deletions.
  1. +2 −2 lib/generators/extension/templates/RSpecRakefile
  2. +2 −2 lib/generators/extension/templates/Rakefile
View
4 lib/generators/extension/templates/RSpecRakefile
@@ -97,7 +97,7 @@ namespace :spec do
end
desc 'Generate documentation for the <%= file_name %> extension.'
-RDoc:Task.new(:rdoc) do |rdoc|
+RDoc::Task.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = '<%= class_name %>'
rdoc.options << '--line-numbers' << '--inline-source'
@@ -106,4 +106,4 @@ RDoc:Task.new(:rdoc) do |rdoc|
end
# Load any custom rakefiles for extension
-Dir[File.dirname(__FILE__) + '/tasks/*.rake'].sort.each { |f| require f }
+Dir[File.dirname(__FILE__) + '/tasks/*.rake'].sort.each { |f| require f }
View
4 lib/generators/extension/templates/Rakefile
@@ -13,7 +13,7 @@ Rake::TestTask.new(:test) do |t|
end
desc 'Generate documentation for the <%= file_name %> extension.'
-RDoc:Task.new(:rdoc) do |rdoc|
+RDoc::Task.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = '<%= class_name %>'
rdoc.options << '--line-numbers' << '--inline-source'
@@ -22,4 +22,4 @@ RDoc:Task.new(:rdoc) do |rdoc|
end
# Load any custom rakefiles for extension
-Dir[File.dirname(__FILE__) + '/tasks/*.rake'].sort.each { |f| require f }
+Dir[File.dirname(__FILE__) + '/tasks/*.rake'].sort.each { |f| require f }

0 comments on commit 7f7b2b2

Please sign in to comment.