12件ヒット
[1-12件を表示]
(0.012秒)
ライブラリ
-
rdoc
/ markup (12)
検索結果
-
RDoc
:: Markup # add _ special(pattern , name) -> () (7.0) -
pattern で指定した正規表現にマッチする文字列をフォーマットの対象にしま す。
...の名前を
Symbol で指定します。
例:
require 'rdoc/markup/simple_markup'
require 'rdoc/markup/simple_markup/to_html'
class WikiHtml < SM::ToHtml
def handle_special_WIKIWORD(special)
"<font color=red>" + special.text + "</font>"
end
end
m = SM::Simple...