method

register

v1_9_3_392 - Show latest stable - Class: RDoc::Markup::PreProcess
register(directive, &block)
public

Registers directive as one handled by RDoc. If a block is given the directive will be replaced by the result of the block, otherwise the directive will be removed from the processed text.