るりまサーチ (Ruby 2.2.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.080秒)
トップページ > クエリ:@[x] > バージョン:2.2.0[x] > クエリ:h[x] > クエリ:===[x] > クエリ:scalar[x]

別のキーワード

  1. _builtin to_h
  2. hash to_h
  3. struct to_h
  4. ostruct to_h
  5. array to_h

ライブラリ

クラス

検索結果

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

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

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

value にはスカラー値の文字列が渡されます。

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

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

plain は plain style であるかどうか、quoted は quoted style であるかどうか
が渡されます。style には node の style が整数値で渡されます。
style は次の値のいずれか...