別のキーワード
種類
- インスタンスメソッド (132)
- クラス (12)
- ライブラリ (12)
- 特異メソッド (12)
ライブラリ
-
rdoc
/ code _ object (24) -
rdoc
/ context (132)
クラス
-
RDoc
:: CodeObject (24) -
RDoc
:: Context (24) -
RDoc
:: Context :: Section (96)
キーワード
- == (12)
- Section (12)
- comment (12)
-
current
_ section (12) - inspect (12)
- new (12)
- parent (12)
-
rdoc
/ context (12) - section (12)
- section= (12)
- sections (12)
- sequence (12)
-
set
_ comment (12) - title (12)
検索結果
先頭5件
-
RDoc
:: Context :: Section (23000.0) -
section に関する情報を保持するクラスです。
section に関する情報を保持するクラスです。
ドキュメント中で以下のように記述した情報を保持しています。
# :section: The title
# The body -
RDoc
:: Context :: Section . new(parent , title , comment) -> RDoc :: Context :: Section (21101.0) -
自身を初期化します。
自身を初期化します。
@param parent RDoc::Context オブジェクトを指定します。
@param title section のタイトルを文字列で指定します。
@param comment section のコメントを文字列で指定します。
また、section のシーケンス番号を新しく作成します。 -
RDoc
:: Context :: Section # ==(other) -> bool (21006.0) -
自身と other のシーケンス番号を比較した結果を返します。
...自身と other のシーケンス番号を比較した結果を返します。
@param other RDoc::Context::Section オブジェクトを指定します。... -
RDoc
:: Context :: Section # comment -> String | nil (21000.0) -
section のコメントを返します。
section のコメントを返します。 -
RDoc
:: Context :: Section # inspect -> String (21000.0) -
自身の情報を人間に読みやすい文字列にして返します。
自身の情報を人間に読みやすい文字列にして返します。 -
RDoc
:: Context :: Section # parent -> RDoc :: Context (21000.0) -
自身が所属する RDoc::Context オブジェクトを返します。
自身が所属する RDoc::Context オブジェクトを返します。 -
RDoc
:: Context :: Section # sequence -> String (21000.0) -
section のシーケンス番号を文字列で返します。
section のシーケンス番号を文字列で返します。
リンクを作成する時に使われます。 -
RDoc
:: Context :: Section # set _ comment(comment) -> () (21000.0) -
自身にコメントを設定します。
自身にコメントを設定します。
@param comment 文字列を指定します。
comment の最初の行に :section: を含んでいた場合、その行以降の文字列をコ
メントとして設定します。そうでない場合は comment すべてをコメントとして
設定します。
# ---------------------
# :section: The title
# The body
# --------------------- -
RDoc
:: Context :: Section # title -> String | nil (21000.0) -
section のタイトルを返します。
section のタイトルを返します。