tasks/rdoc.rake in classy-inheritance-0.6.4 vs tasks/rdoc.rake in classy-inheritance-0.7.0
- old
+ new
@@ -17,13 +17,14 @@
when incl; true
else false end
end
rd.rdoc_files.push(*files)
- title = "#{PROJ.name}-#{PROJ.version} Documentation"
-
+ name = PROJ.name
rf_name = PROJ.rubyforge.name
- title = "#{rf_name}'s " + title if rf_name.valid? and rf_name != title
+
+ title = "#{name}-#{PROJ.version} Documentation"
+ title = "#{rf_name}'s " + title if rf_name.valid? and rf_name != name
rd.options << "-t #{title}"
rd.options.concat(rdoc.opts)
end