るりまサーチ

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

別のキーワード

  1. _builtin >
  2. bigdecimal >
  3. module >
  4. integer >
  5. complex >

検索結果

<< < 1 2 >>

REXML::Element#root -> REXML::Element (173.0)

self が属する文書のルート要素を返します。

...oot>
<children>
<grandchildren />
</children>
</root>
EOS

children
= doc.get_elements("/root/children").first
children
.name # => "children"
children
.root.name # => "root"
grandchildren = doc.get_elements("/root/children/grandchildren").first
grandchildren.name # => "grandchildren"
grandchildren.r...
...oot.name # => "root"
//}...

REXML::Element#root_node -> REXML::Document | REXML::Node (173.0)

self が属する文書のルートノードを返します。

...>
<children>
<grandchildren />
</children>
</root>
EOS

children
= doc.get_elements("/root/children").first
children
.name # => "children"
children
.root_node == doc # => true
grandchildren = doc.get_elements("/root/children/grandchildren").first
grandchildren.name # => "grandchildren"
grandchildren...
....root_node == doc # => true
//}...

Psych::Nodes::Node#tag -> String | nil (125.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...

RDoc::CodeObject#remove_classes_and_modules -> () (117.0)

何もしません。RDoc::CodeObject#document_children= に false を指定 した時のコールバックとして呼び出されます。オーバーライドして使用します。

...何もしません。RDoc::CodeObject#document_children= に false を指定
した時のコールバックとして呼び出されます。オーバーライドして使用します。...

RDoc::CodeObject#document_self -> bool (107.0)

自身をドキュメントに含めるかどうかを返します。

...自身をドキュメントに含めるかどうかを返します。

@see RDoc::CodeObject#document_children...

絞り込み条件を変える

RDoc::CodeObject#start_doc -> () (107.0)

以降に解析したコメントを RDoc::CodeObject#stop_doc を呼び出すまで の間、ドキュメントに含めます。

...メントを RDoc::CodeObject#stop_doc を呼び出すまで
の間、ドキュメントに含めます。

:startdoc: を見つけた時に呼び出されます。
RDoc::CodeObject#document_self と
RDoc::CodeObject#document_children を true に設定します。

@see RDoc::CodeObject#end_doc...

RDoc::CodeObject#stop_doc -> () (107.0)

以降に解析したコメントを RDoc::CodeObject#start_doc を呼び出すま での間、ドキュメントに含めません。

...トを RDoc::CodeObject#start_doc を呼び出すま
での間、ドキュメントに含めません。

:stopdoc: を見つけた時に呼び出されます。
RDoc::CodeObject#document_self と
RDoc::CodeObject#document_children を false に設定します。

@see RDoc::CodeObject#start_doc...
<< < 1 2 >>