るりまサーチ

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

別のキーワード

  1. psych tag
  2. psych tag=
  3. psych yaml_tag
  4. rss tag
  5. node tag

キーワード

検索結果

<< 1 2 3 ... > >>

Net::IMAP::TaggedResponse#tag -> String (21101.0)

レスポンスに対応付けられたタグを返します。

レスポンスに対応付けられたタグを返します。

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

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

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

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

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

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

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

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

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

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

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

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

UncaughtThrowError#tag -> object (18123.0)

Kernel.#throw に指定した tag を返します。

...Kernel.#throw に指定した tag を返します。

//emlist[例:][ruby]{
def do_complicated_things
throw :uncaught_label
end

begin
do_complicated_things
rescue UncaughtThrowError => ex
p ex.tag # => ":uncaught_label"
end
//}...

絞り込み条件を変える

Psych::Nodes::Node#tag -> String | nil (18119.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.children[1].value # => "b"
p ast.root.children[1].tag # => nil...

OpenSSL::ASN1::ASN1Data#tag -> Integer (18107.0)

タグ番号を返します。

...タグ番号を返します。

タグ番号です。Universal 型の場合は BOOLEAN = 1 から BMPSTRING = 30
のいずれかの値をとります。

@see OpenSSL::ASN1::ASN1Data#tag=...

RSS::NSError#tag (18101.0)

@todo

@todo

Object.yaml_tag(tag) -> () (6254.0)

クラスと tag の間を関連付けます。

...クラスと tag の間を関連付けます。

これによって tag 付けされた YAML ドキュメントを Ruby のオブジェクトに
変換したりその逆をしたりすることができます。

@param tag 対象のクラスに関連付けるタグの文字列

=== Example
requir...
...# Registers tag with class Foo
Foo.yaml_as("tag:example.com,2013:foo")
# ... and dumps the object of Foo class
Psych.dump(Foo.new(3), STDOUT)
# =>
# --- !<tag:example.com,2013:foo>
# x: 3

# Loads the object from the tagged YAML node
p Psych.load(<<EOS)
--- !<tag:example.com,...
<< 1 2 3 ... > >>