33件ヒット
[1-33件を表示]
(0.007秒)
クラス
-
Psych
:: Handler (11) -
Psych
:: Nodes :: Scalar (22)
検索結果
先頭3件
-
Psych
:: Nodes :: Scalar # quoted -> bool (18126.0) -
scalar が quoted であるかどうかを返します。
...scalar が quoted であるかどうかを返します。
@see Psych::Nodes::Scalar#quoted=,
Psych::Nodes::Scalar.new... -
Psych
:: Nodes :: Scalar # quoted=(bool) (6126.0) -
scalar が quoted であるかどうかを変更します。
...scalar が quoted であるかどうかを変更します。
@param bool 設定する真偽値
@see Psych::Nodes::Scalar#quoted,
Psych::Nodes::Scalar.new... -
Psych
:: Handler # scalar(value , anchor , tag , plain , quoted , style) -> () (146.0) -
スカラー値を見付けたときに呼び出されます。
...、quoted は quoted style であるかどうか
が渡されます。style には node の style が整数値で渡されます。
style は次の値のいずれかです。
* Psych::Nodes::Scalar::PLAIN
* Psych::Nodes::Scalar::SINGLE_QUOTED
* Psych::Nodes::Scalar::DOUBLE_QUOTED
* Psych::No......r::LITERAL
* Psych::Nodes::Scalar::FOLDED
必要に応じてこのメソッドを override してください。
@param value スカラー値
@param anchor 関連付けられた anchor の名前
@param tag タグ名
@param plain plain style であるかどうか
@param quoted quoted style であ......含まれています。
scalar メソッドは 順に以下の引数で呼び出されます。
# value anchor tag plain quoted style
["foo", nil, "!str", false, false, 3 ]
["fun", "anchor", nil, true, false, 1 ]
["many...