るりまサーチ

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

別のキーワード

  1. _builtin nil?
  2. object nil?
  3. nilclass nil?
  4. object nil
  5. _builtin nil

ライブラリ

キーワード

検索結果

Psych::Handler#scalar(value, anchor, tag, plain, quoted, style) -> () (49.0)

スカラー値を見付けたときに呼び出されます。

...r の名前が文字列で渡されます。
anchor がない場合には nil が渡されます。

tag にはスカラー値に関連付けられた tag の名前が文字列で渡されます。
tag がない場合には nil が渡されます。

plain は plain style であるかどうか、quo...
...nchor tag plain quoted style
["foo", nil, "!str", false, false, 3 ]
["fun", "anchor", nil, true, false, 1 ]
["many lines", nil, nil, true, false, 1 ]
["many\nnewlines\n", nil, nil, false, true, 4 ]...

Psych::Handler#start_mapping(anchor, tag, implicit, style) -> () (37.0)

mapping の開始を見付けたときに呼び出されます。

...anchor の名前が文字列で渡されます。
anchor がない場合には nil が渡されます。

tag には map に関連付けられた tag の名前が文字列で渡されます。
tag がない場合には nil が渡されます。

implicit には map が implicit に開始されたか...
...ng メソッドは 順に以下の引数で呼び出されます。

# anchor tag implicit style
[nil, nil, true, 1 ]
[nil, "tag:yaml.org,2002:map", false, 2 ]
["pewpew", nil, true, 1 ]...

Psych::Handler#start_sequence(anchor, tag, implicit, style) -> () (37.0)

sequence の開始を見付けたときに呼び出されます。

...chor の名前が文字列で渡されます。
anchor がない場合には nil が渡されます。

tag には sequence に関連付けられた tag の名前が文字列で渡されます。
tag がない場合には nil が渡されます。

implicit には sequence が implicit に開始さ...
...ce メソッドは 順に以下の引数で呼び出されます。

# anchor tag implicit style
[nil, nil, true, 1 ]
[nil, "tag:yaml.org,2002:seq", false, 2 ]
["pewpew", nil, true, 1 ]...