るりまサーチ

最速Rubyリファレンスマニュアル検索!
33件ヒット [1-33件を表示] (0.145秒)
トップページ > クエリ:i[x] > クエリ:@[x] > クエリ:dir[x] > クラス:Psych::Nodes::Document[x]

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. csv to_i
  5. matrix i

ライブラリ

キーワード

検索結果

Psych::Nodes::Document#tag_directives=(tags) (12213.0)

tag directive の配列を設定します。

...tag directive の配列を設定します。

@
param tags 設定する tag directive の配列
@
see Psych::Nodes::Document#tag_directives,
Psych::Nodes::Document
.new...

Psych::Nodes::Document#tag_directives -> [[String, String]] (12207.0)

tag directive の配列を返します。

...tag directive の配列を返します。

@
see Psych::Nodes::Document#tag_directives=,
Psych::Nodes::Document
.new...

Psych::Nodes::Document.new(version=[], tag_directives=[], implicit=false) -> Psych::Nodes::Document (225.0)

Document オブジェクトを生成します。

...version にはドキュメントのバージョンを指定します。
[major, minor] という配列で指定します。

tag_directives には tag directive の配列を指定します。
それぞれの tag は [prefix, suffix] という文字列の配列で
表現します。

i
mplicit に...
...はドキュメントが implicit に始まっているかどうかを
真偽値で指定します。

@
param version YAML ドキュメントのバージョン
@
param tag_directives tag directive の配列
@
param implicit ドキュメントが implicit に始まっているかどうか

=== 例
...
...YAML 1.1 のドキュメントで、
tag directive を1つ持ち、 implicit にドキュメントが開始
している Document オブジェクトを生成しています。

Psych::Nodes::Document
.new(
[1,1],
tenderlovemaking.com,2009:",
true)

@
see Psych::Handler#start_document...