るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
4件ヒット [1-4件を表示] (0.024秒)
トップページ > クエリ:IO[x] > バージョン:2.4.0[x] > ライブラリ:rdoc/context[x] > クエリ:comment[x]

別のキーワード

  1. io popen
  2. io pipe
  3. io each
  4. io each_line
  5. io readlines

検索結果

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

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

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

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

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

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

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

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

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

RDoc::Context#set_current_section(title, comment) -> () (18610.0)

Handle sections

Handle sections

RDoc::Context::Section.new(parent, title, comment) -> RDoc::Context::Section (9628.0)

自身を初期化します。

自身を初期化します。

@param parent RDoc::Context オブジェクトを指定します。

@param title section のタイトルを文字列で指定します。

@param comment section のコメントを文字列で指定します。

また、section のシーケンス番号を新しく作成します。