177件ヒット
[101-177件を表示]
(0.065秒)
別のキーワード
ライブラリ
- ビルトイン (12)
-
net
/ imap (11) - pathname (33)
- psych (22)
-
rdoc
/ code _ object (55) -
rexml
/ document (44)
クラス
- Dir (6)
-
Net
:: IMAP :: ThreadMember (11) - Pathname (33)
-
Psych
:: Nodes :: Node (22) -
RDoc
:: CodeObject (55) -
REXML
:: Element (22) -
REXML
:: Parent (22) -
RubyVM
:: AbstractSyntaxTree :: Node (6)
キーワード
-
document
_ children (11) -
document
_ self (11) -
each
_ child (22) -
remove
_ classes _ and _ modules (11) - root (11)
-
root
_ node (11) -
start
_ doc (11) -
stop
_ doc (11) - tag (11)
-
to
_ a (11)
検索結果
先頭5件
-
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...