るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.026秒)
トップページ > クエリ:io[x] > バージョン:2.4.0[x] > クエリ:section[x] > クエリ:set_comment[x]

別のキーワード

  1. section set_comment
  2. section comment
  3. section sequence
  4. section parent
  5. section title

ライブラリ

クラス

検索結果

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

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

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

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

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

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