33件ヒット
[1-33件を表示]
(0.111秒)
ライブラリ
- psych (33)
クラス
-
Psych
:: Handler (11) -
Psych
:: Nodes :: Document (22)
キーワード
-
start
_ document (11) -
tag
_ directives= (11)
検索結果
先頭3件
-
Psych
:: Nodes :: Document # tag _ directives -> [[String , String]] (21108.0) -
tag directive の配列を返します。
...tag directive の配列を返します。
@see Psych::Nodes::Document#tag_directives=,
Psych::Nodes::Document.new... -
Psych
:: Nodes :: Document # tag _ directives=(tags) (9108.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) -> () (3226.0) -
YAML ドキュメントの始まりで呼び出されます。
...言がない場合は空の配列が渡されます。
tag_directives には tag directive の配列が渡されます。
それぞれの tag は [prefix, suffix] という配列で表現されます。
implicit にはドキュメントが implicit に始まっているかどうかが
真偽値で......されます。
必要に応じてこのメソッドを override してください。
@param version バージョン
@param tag_directives tag directive の配列
@param implicit ドキュメントが implicit に始まっているかどうか
=== 例
以下の YAML に対しては
%YAML 1.1......version # => [1, 1]
tag_directives # => tenderlovemaking.com,2009:"
implicit # => false
以下の YAML に対しては
- x
- y
start_document に渡される引数は以下の通りです。
version # => []
tag_directives # => []
implicit # => true...