66件ヒット
[1-66件を表示]
(0.074秒)
種類
- インスタンスメソッド (22)
- 特異メソッド (22)
- 定数 (22)
クラス
-
Psych
:: Handler (11) -
Psych
:: Nodes :: Scalar (44) -
Psych
:: Visitors :: YAMLTree (11)
キーワード
-
DOUBLE
_ QUOTED (11) -
SINGLE
_ QUOTED (11) - new (22)
- quoted (11)
- scalar (11)
検索結果
先頭5件
- Psych
:: Nodes :: Scalar :: DOUBLE _ QUOTED -> Integer - Psych
:: Nodes :: Scalar :: SINGLE _ QUOTED -> Integer - Psych
:: Nodes :: Scalar # quoted -> bool - Psych
:: Handler # scalar(value , anchor , tag , plain , quoted , style) -> () - Psych
:: Nodes :: Scalar . new(value , anchor=nil , tag=nil , plain=true , quoted=false , style=ANY) -> Psych :: Nodes:Scalar
-
Psych
:: Nodes :: Scalar :: DOUBLE _ QUOTED -> Integer (9302.0) -
double quoted style を表します。
...double quoted style を表します。
@see Psych::Nodes::Scalar.new,
Psych::Nodes::Scalar#style,
Psych::Handler#scalar... -
Psych
:: Nodes :: Scalar :: SINGLE _ QUOTED -> Integer (9302.0) -
single quoted style を表します。
...single quoted style を表します。
@see Psych::Nodes::Scalar.new,
Psych::Nodes::Scalar#style,
Psych::Handler#scalar... -
Psych
:: Nodes :: Scalar # quoted -> bool (9202.0) -
scalar が quoted であるかどうかを返します。
...scalar が quoted であるかどうかを返します。
@see Psych::Nodes::Scalar#quoted=,
Psych::Nodes::Scalar.new... -
Psych
:: Handler # scalar(value , anchor , tag , plain , quoted , style) -> () (6326.0) -
スカラー値を見付けたときに呼び出されます。
...に呼び出されます。
value にはスカラー値の文字列が渡されます。
anchor にはスカラー値に関連付けられた anchor の名前が文字列で渡されます。
anchor がない場合には nil が渡されます。
tag にはスカラー値に関連付けられた......、quoted は quoted style であるかどうか
が渡されます。style には node の style が整数値で渡されます。
style は次の値のいずれかです。
* Psych::Nodes::Scalar::PLAIN
* Psych::Nodes::Scalar::SINGLE_QUOTED
* Psych::Nodes::Scalar::DOUBLE_QUOTED
* Psych::No......or の名前
@param tag タグ名
@param plain plain style であるかどうか
@param quoted quoted style であるかどうか
@param style スカラーのスタイル
=== 例
以下の YAML ドキュメントには多くのパターンのスカラーが含まれています。
---
- !str... -
Psych
:: Nodes :: Scalar . new(value , anchor=nil , tag=nil , plain=true , quoted=false , style=ANY) -> Psych :: Nodes:Scalar (3302.0) -
Scalar オブジェクトを生成します。
...Scalar オブジェクトを生成します。
value は scalar の値を文字列で指定します。
anchor には scalar に付加されている anchor を文字列で指定します。
anchor を付けない場合には nil を指定します。
tag には scalar に付加されている t......、quoted は quoted style であるかどうか
を指定します。style には node の style を整数値で渡します。
style は次の値のいずれかです。
* Psych::Nodes::Scalar::ANY
* Psych::Nodes::Scalar::PLAIN
* Psych::Nodes::Scalar::SINGLE_QUOTED
* Psych::Nodes::Scalar::......DOUBLE_QUOTED
* Psych::Nodes::Scalar::LITERAL
* Psych::Nodes::Scalar::FOLDED
@param value スカラー値
@param anchor 関連付けられた anchor の名前
@param tag タグ名
@param plain plain style であるかどうか
@param quoted quoted style であるかどうか
@param style スカ... -
Psych
:: Visitors :: YAMLTree . new(options = {} , emitter = Psych :: TreeBuilder . new , ss = Psych :: ScalarScanner . new) -> Psych :: Visitors :: YAMLTree (3208.0) -
YAMLTree オブジェクトを生成します。
...YAMLTree オブジェクトを生成します。
options には構築される YAML AST に設定されるオプション設定を指定します。
Psych.dump と同じオプションが指定できます。
emitter には AST の構築に使われる Psych::TreeBuilder オブジェクト
を渡......s は Ruby の String が YAML document 上で quote が必要かどうか
を判定するための Psych::ScalarScanner オブジェクトを渡します。
emitter, ss は通常デフォルトのものから変える必要はないでしょう。
@param options オプション
@param emitter AST......の構築に使う Psych::TreeBuilder オブジェクト
@param ss 文字列に quite が必要かどうかを判定するための Psych::ScalarScanner オブジェクト...