3件ヒット
[1-3件を表示]
(0.060秒)
クラス
-
REXML
:: Comment (1) -
REXML
:: Element (1) -
REXML
:: Instruction (1)
検索結果
先頭3件
-
REXML
:: Comment # ==(other) -> bool (63310.0) -
other と内容(REXML::Comment#string)が同じならば真を返します。
other と内容(REXML::Comment#string)が同じならば真を返します。 -
REXML
:: Instruction # ==(other) -> bool (63310.0) -
other と self が同じ 処理命令である場合に真を返します。
other と self が同じ 処理命令である場合に真を返します。
同じとは、 REXML::Instruction#target と REXML::Instruction#content
が一致することを意味します。
@param other 比較対象 -
REXML
:: Element # root _ node -> REXML :: Document | REXML :: Node (18646.0) -
self が属する文書のルートノードを返します。
...XML::Document オブジェクトが存在しない
場合は木構造上のルートノードが返されます。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<root>
<children>
<grandchildren />
</children>
</root>
EOS
children = doc.get_elements("/root/children")...