RDoc::Markup::PreProcess::register - ri - phpman

Look up a command

 

Markdown Format | JSON API | MCP Server Tool


= 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 Author: Che Dong Under GNU General Public License
2026-06-02 08:13 @216.73.216.198 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!