るりまサーチ (Ruby 2.5.0)

最速Rubyリファレンスマニュアル検索!
5件ヒット [1-5件を表示] (0.040秒)

別のキーワード

  1. string []=
  2. string []
  3. string slice
  4. string slice!
  5. string gsub

検索結果

Psych::Nodes::Mapping#tag -> String|nil (54679.0)

mapping に付加された tag を返します。

...mapping に付加された tag を返します。

@see Psych::Nodes::Mapping#tag=,
Psych
::Nodes::Mapping.new...

Psych::Nodes::Scalar#tag -> String|nil (54679.0)

scalar に付加された tag を返します。

...scalar に付加された tag を返します。

@see Psych::Nodes::Scalar#tag=,
Psych
::Nodes::Scalar.new...

Psych::Nodes::Sequence#tag -> String|nil (54679.0)

sequence に付加された tag を返します。

...sequence に付加された tag を返します。

@see Psych::Nodes::Sequence#tag=,
Psych
::Nodes::Sequence.new...

Psych::Nodes::Node#tag -> String | nil (54667.0)

ノードに付加されたタグを返します。

...ノードに付加されたタグを返します。

タグが付加されていない場合は nil を返します。

ast = Psych.parse(<<EOS)
---
- !!str a
- b
EOS

p ast.root.children[0].value # => "a"
p ast.root.children[0].tag # => "tag:yaml.org,2002:str"

p ast.root.ch...

Psych::Nodes::Document#tag_directives -> [[String, String]] (18982.0)

tag directive の配列を返します。

...tag directive の配列を返します。

@see Psych::Nodes::Document#tag_directives=,
Psych
::Nodes::Document.new...

絞り込み条件を変える