33件ヒット
[1-33件を表示]
(0.079秒)
クラス
-
Psych
:: Handler (11) -
Psych
:: Nodes :: Document (22)
キーワード
-
start
_ document (11) -
tag
_ directives= (11)
検索結果
先頭3件
-
Psych
:: Nodes :: Document # tag _ directives -> [[String , String]] (21310.0) -
tag directive の配列を返します。
...tag directive の配列を返します。
@see Psych::Nodes::Document#tag_directives=,
Psych::Nodes::Document.new... -
Psych
:: Nodes :: Document # tag _ directives=(tags) (9110.0) -
tag directive の配列を設定します。
...tag directive の配列を設定します。
@param tags 設定する tag directive の配列
@see Psych::Nodes::Document#tag_directives,
Psych::Nodes::Document.new... -
Psych
:: Handler # start _ document(version , tag _ directives , implicit) -> () (6228.0) -
YAML ドキュメントの始まりで呼び出されます。
...トの始まりで呼び出されます。
version には YAML ドキュメントに宣言されているバージョンが
[major, minor] という配列で渡されます。宣言がない場合は空の配列が渡されます。
tag_directives には tag directive の配列が渡されます......@param version バージョン
@param tag_directives tag directive の配列
@param implicit ドキュメントが implicit に始まっているかどうか
=== 例
以下の YAML に対しては
%YAML 1.1
%TAG ! tag:tenderlovemaking.com,2009:
--- !squee
start_document に渡される引......の通りです
version # => [1, 1]
tag_directives # => tenderlovemaking.com,2009:"
implicit # => false
以下の YAML に対しては
- x
- y
start_document に渡される引数は以下の通りです。
version # => []
tag_directives # => []
implicit...