るりまサーチ (Ruby 2.7.0)

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

別のキーワード

  1. comment new
  2. rexml comment
  3. comment ==
  4. etc comment
  5. comment <=>

ライブラリ

検索結果

RDoc::Context::Section#comment -> String | nil (54310.0)

section のコメントを返します。

section のコメントを返します。

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

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

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

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

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

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