lib/rake/rdoctask.rb in rake-0.8.4 vs lib/rake/rdoctask.rb in rake-0.8.5

- old
+ new

@@ -8,22 +8,22 @@ # Create a documentation task that will generate the RDoc files for # a project. # # The RDocTask will create the following targets: # - # [<b>:<em>rdoc</em></b>] + # [<b><em>rdoc</em></b>] # Main task for this RDOC task. # # [<b>:clobber_<em>rdoc</em></b>] # Delete all the rdoc files. This target is automatically # added to the main clobber target. # # [<b>:re<em>rdoc</em></b>] # Rebuild the rdoc files from scratch, even if they are not out # of date. # - # Simple example: + # Simple Example: # # Rake::RDocTask.new do |rd| # rd.main = "README.rdoc" # rd.rdoc_files.include("README.rdoc", "lib/**/*.rb") # end @@ -132,10 +132,10 @@ rm_r @rdoc_dir rescue nil @before_running_rdoc.call if @before_running_rdoc args = option_list + @rdoc_files if @external argstring = args.join(' ') - sh %{ruby -Ivendor vender/rd #{argstring}} + sh %{ruby -Ivendor vendor/rd #{argstring}} else require 'rdoc/rdoc' RDoc::RDoc.new.document(args) end end