るりまサーチ (Ruby 3.1)

最速Rubyリファレンスマニュアル検索!
13件ヒット [1-13件を表示] (0.048秒)

別のキーワード

  1. rdoc/context new
  2. rdoc version
  3. rdoc dot_doc_filename
  4. rdoc method_modifiers
  5. rdoc/markdown parse

ライブラリ

キーワード

検索結果

rdoc/context (114049.0)

RDoc::Context と RDoc::Context::Section を定義するサブライ ブラリです。

RDoc::Context と RDoc::Context::Section を定義するサブライ
ブラリです。

RDoc::Context#current_section -> RDoc::Context::Section (42655.0)

現在の section を返します。

現在の section を返します。

RDoc::Context#sections -> RDoc::Context::Section (42652.0)

追加された RDoc::Context::Section の配列を返します。

追加された RDoc::Context::Section の配列を返します。

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

Handle sections

Handle sections

RDoc::Context::Section (42067.0)

section に関する情報を保持するクラスです。

section に関する情報を保持するクラスです。

ドキュメント中で以下のように記述した情報を保持しています。

# :section: The title
# The body

絞り込み条件を変える

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

自身を初期化します。

自身を初期化します。

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

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

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

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

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

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

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

RDoc::Context::Section#sequence -> String (33049.0)

section のシーケンス番号を文字列で返します。

section のシーケンス番号を文字列で返します。

リンクを作成する時に使われます。

RDoc::Context::Section#title -> String | nil (33049.0)

section のタイトルを返します。

section のタイトルを返します。

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

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

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

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

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

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

絞り込み条件を変える

RDoc::Context::Section#==(other) -> bool (33019.0)

自身と other のシーケンス番号を比較した結果を返します。

自身と other のシーケンス番号を比較した結果を返します。

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

RDoc::Context::Section#inspect -> String (33001.0)

自身の情報を人間に読みやすい文字列にして返します。

自身の情報を人間に読みやすい文字列にして返します。

RDoc::Context::Section#parent -> RDoc::Context (33001.0)

自身が所属する RDoc::Context オブジェクトを返します。

自身が所属する RDoc::Context オブジェクトを返します。