30件ヒット
[1-30件を表示]
(0.025秒)
種類
- 特異メソッド (18)
- インスタンスメソッド (12)
ライブラリ
- ビルトイン (6)
-
rdoc
/ context (24)
クラス
- Enumerator (6)
-
RDoc
:: Context :: Section (24)
検索結果
先頭3件
-
RDoc
:: Context :: Section # parent -> RDoc :: Context (21101.0) -
自身が所属する RDoc::Context オブジェクトを返します。
自身が所属する RDoc::Context オブジェクトを返します。 -
RDoc
:: Context :: Section . new(parent , title , comment) -> RDoc :: Context :: Section (3226.0) -
自身を初期化します。
...自身を初期化します。
@param parent RDoc::Context オブジェクトを指定します。
@param title section のタイトルを文字列で指定します。
@param comment section のコメントを文字列で指定します。
また、section のシーケンス番号を新しく... -
Enumerator
. produce(initial = nil) { |prev| . . . } -> Enumerator (18.0) -
与えられたブロックを呼び出し続ける、停止しない Enumerator を返します。 ブロックの戻り値が、次にブロックを呼び出す時に引数として渡されます。 initial 引数が渡された場合、最初にブロックを呼び出す時にそれがブロック 呼び出しの引数として渡されます。initial が渡されなかった場合は nil が 渡されます。
...の祖先ノードを列挙する Enumerator
ancestors = Enumerator.produce(node) { |prev| node = prev.parent or raise StopIteration }
enclosing_section = ancestors.find { |n| n.type == :section }
//}
このメソッドは Enumerable の各メソッドと組み合わせて使うことで、
while...