33件ヒット
[1-33件を表示]
(0.074秒)
別のキーワード
検索結果
先頭3件
-
Psych
:: Nodes :: Scalar # quoted -> bool (24224.0) -
scalar が quoted であるかどうかを返します。
...scalar が quoted であるかどうかを返します。
@see Psych::Nodes::Scalar#quoted=,
Psych::Nodes::Scalar.new... -
Psych
:: Nodes :: Scalar # quoted=(bool) (12224.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) -> () (244.0) -
スカラー値を見付けたときに呼び出されます。
...うか、quoted は quoted style であるかどうか
が渡されます。style には node の style が整数値で渡されます。
style は次の値のいずれかです。
* Psych::Nodes::Scalar::PLAIN
* Psych::Nodes::Scalar::SINGLE_QUOTED
* Psych::Nodes::Scalar::DOUBLE_QUOTED
* Psy......スカラー値
@param anchor 関連付けられた anchor の名前
@param tag タグ名
@param plain plain style であるかどうか
@param quoted quoted style であるかどうか
@param style スカラーのスタイル
=== 例
以下の YAML ドキュメントには多くのパターンの......含まれています。
scalar メソッドは 順に以下の引数で呼び出されます。
# value anchor tag plain quoted style
["foo", nil, "!str", false, false, 3 ]
["fun", "anchor", nil, true, false, 1 ]
["many...