class Rake::RDocTask

def before_running_rdoc(&block)

block.
RDoc generator. It is allowed to modify RDocTask attributes inside the
The block passed to this method will be called just before running the
def before_running_rdoc(&block)
  @before_running_rdoc = block
end