るりまサーチ (Ruby 3.1)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.163秒)

別のキーワード

  1. rexml comment
  2. comment new
  3. section set_comment
  4. rdoc/context set_comment
  5. section comment

ライブラリ

クラス

検索結果

RDoc::Context::Section#set_comment(comment) -> () (109603.0)

自身にコメントを設定します。

自身にコメントを設定します。

@param comment 文字列を指定します。

comment の最初の行に :section: を含んでいた場合、その行以降の文字列をコ
メントとして設定します。そうでない場合は comment すべてをコメントとして
設定します。

# ---------------------
# :section: The title
# The body
# ---------------------