るりまサーチ

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

別のキーワード

  1. tracer single
  2. scalar single_quoted
  3. ruby single
  4. psych single_quoted
  5. ssl op_single_dh_use

ライブラリ

クラス

キーワード

検索結果

Psych::Nodes::Scalar::SINGLE_QUOTED -> Integer (18123.0)

single quoted style を表します。

...single quoted style を表します。

@see Psych::Nodes::Scalar.new,
Psych::Nodes::Scalar#style,
Psych::Handler#scalar...

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

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

...ain は plain style であるかどうか、quoted は quoted style であるかどうか
が渡されます。style には node の style が整数値で渡されます。
style
は次の値のいずれかです。
* Psych::Nodes::Scalar::PLAIN
* Psych::Nodes::Scalar::SINGLE_QUOTED
* Psych::N...
...カラー値
@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 lines",...

Psych::Nodes::Scalar.new(value, anchor=nil, tag=nil, plain=true, quoted=false, style=ANY) -> Psych::Nodes:Scalar (155.0)

Scalar オブジェクトを生成します。

...付けない場合には nil を指定します。

plain は plain style であるかどうか、quoted は quoted style であるかどうか
を指定します。style には node の style を整数値で渡します。
style
は次の値のいずれかです。
* Psych::Nodes::Scalar::ANY
*...
...::Nodes::Scalar::LITERAL
* Psych::Nodes::Scalar::FOLDED

@param value スカラー値
@param anchor 関連付けられた anchor の名前
@param tag タグ名
@param plain plain style であるかどうか
@param quoted quoted style であるかどうか
@param style スカラーのスタイル...