るりまサーチ

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

別のキーワード

  1. set new
  2. stringio set_encoding
  3. _builtin set_encoding
  4. tracer set_get_line_procs
  5. openssl set

ライブラリ

クラス

検索結果

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

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

...

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

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