before_running_rdoc(&block)
The block passed to this method will be called just before running the RDoc generator. It is allowed to modify RDoc::Task attributes inside the block.
# File lib/rdoc/task.rb, line 273 def before_running_rdoc(&block) @before_running_rdoc = block end