Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
RDoc
/
Markup
/
PreProcess
/
//opt/alt/ruby21/share/ri/2.1.0/system/RDoc/Markup/PreProcess/register-c.ri
U:RDoc::AnyMethod[iI" register:EFI"'RDoc::Markup::PreProcess::register;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"LRegisters +directive+ as one handled by RDoc. If a block is given the ;TI"Jdirective will be replaced by the result of the block, otherwise the ;TI"7directive will be removed from the processed text.;To:RDoc::Markup::BlankLine o; ; [I"HThe block will be called with the directive name and the directive ;TI"parameter:;T@o:RDoc::Markup::Verbatim; [I"LRDoc::Markup::PreProcess.register 'my-directive' do |directive, param| ;TI" # replace text, etc. ;TI"end;T:@format0: @fileI"#lib/rdoc/markup/pre_process.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(directive, &block);T@FI"PreProcess;TcRDoc::NormalClass00