るりまサーチ (Ruby 2.3.0)

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

別のキーワード

  1. _builtin >
  2. bigdecimal >
  3. complex >
  4. comparable >
  5. integer >

ライブラリ

クラス

検索結果

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

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

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

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

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

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