phpman > ri > RDoc::Markup::PreProcess::register

Markdown | JSON | MCP    

= RDoc::Markup::PreProcess::register

(from gem rdoc-7.2.0)
=== Implementation from PreProcess
------------------------------------------------------------------------
  register(directive, &block)

------------------------------------------------------------------------

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.

The block will be called with the directive name and the directive
parameter:

  RDoc::Markup::PreProcess.register 'my-directive' do |directive, param|
    # replace text, etc.
  end


Generated by phpman v4.1.1-1-ga5058b5-dirty Author: Che Dong Under GNU General Public License
2026-06-17 06:44 @216.73.216.135
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!