るりまサーチ (Ruby 3.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.074秒)
トップページ > 種類:インスタンスメソッド[x] > バージョン:3.0[x] > クエリ:text[x] > クラス:RDoc::Markup[x]

別のキーワード

  1. openssl to_text
  2. prettyprint text
  3. cgi text_field
  4. rexml/document text
  5. cgi/html text_field

ライブラリ

検索結果

RDoc::Markup#add_special(pattern, name) -> () (25.0)

pattern で指定した正規表現にマッチする文字列をフォーマットの対象にしま す。

pattern で指定した正規表現にマッチする文字列をフォーマットの対象にしま
す。

例えば WikiWord のような、SM::SimpleMarkup#add_word_pair、
SM::SimpleMarkup#add_html でフォーマットできないものに対して使用
します。

@param pattern 正規表現を指定します。

@param name SM::ToHtml などのフォーマッタに識別させる時の名前を
Symbol で指定します。

例:

require 'rdoc/markup/simple_markup'
require '...