るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.012秒)
トップページ > クエリ:rect[x] > 種類:特異メソッド[x] > クラス:Psych::Nodes::Document[x]

別のキーワード

  1. _builtin rect
  2. matrix rect
  3. complex rect
  4. numeric rect

ライブラリ

検索結果

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

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

...

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

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

implicit...
...AML ドキュメントのバージョン
@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...