Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add missing colon to RDoc::Task

  • Loading branch information...
commit 7f7b2b27615a7812433a23ae559afb72fba0e4bd 1 parent cdcaa98
Jason Taylor jsntv200 authored
4 lib/generators/extension/templates/RSpecRakefile
View
@@ -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 }
4 lib/generators/extension/templates/Rakefile
View
@@ -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 }
Please sign in to comment.
Something went wrong with that request. Please try again.