summaryrefslogtreecommitdiff
path: root/lib/rake/rdoctask.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-06 03:56:38 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-06 03:56:38 +0000
commit287a34ae0dfc23e4158f67cb7783d239f202c368 (patch)
tree5e35d5b41aae961b37cf6632f60c42f51c7aa775 /lib/rake/rdoctask.rb
parent9b52ae2e6491bb5d6c59e1799449f6268baf6f89 (diff)
* {ext,lib,test}/**/*.rb: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rake/rdoctask.rb')
-rw-r--r--lib/rake/rdoctask.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/rake/rdoctask.rb b/lib/rake/rdoctask.rb
index 6cfbda1d6a..6c751a7cba 100644
--- a/lib/rake/rdoctask.rb
+++ b/lib/rake/rdoctask.rb
@@ -11,7 +11,7 @@ module Rake
# The RDocTask will create the following targets:
#
# [<b><em>rdoc</em></b>]
- # Main task for this RDOC task.
+ # Main task for this RDOC task.
#
# [<b>:clobber_<em>rdoc</em></b>]
# Delete all the rdoc files. This target is automatically
@@ -80,7 +80,7 @@ module Rake
yield self if block_given?
define
end
-
+
# Create the tasks defined by this task lib.
def define
if name.to_s != "rdoc"
@@ -89,17 +89,17 @@ module Rake
desc "Build the #{name} HTML Files"
task name
-
+
desc "Force a rebuild of the RDOC files"
task "re#{name}" => ["clobber_#{name}", name]
-
- desc "Remove rdoc products"
+
+ desc "Remove rdoc products"
task "clobber_#{name}" do
rm_r rdoc_dir rescue nil
end
-
+
task :clobber => ["clobber_#{name}"]
-
+
directory @rdoc_dir
task name => [rdoc_target]
file rdoc_target => @rdoc_files + [Rake.application.rakefile] do