Method: RDoc::Markup::PreProcess.post_process
- Defined in:
- lib/rdoc/markup/pre_process.rb
.post_process(&block) ⇒ Object
Adds a post-process handler for directives. The handler will be called with the result RDoc::Comment (or text String) and the code object for the comment (if any).
30 31 32 |
# File 'lib/rdoc/markup/pre_process.rb', line 30 def self.post_process &block @post_processors << block end |