1件ヒット
[1-1件を表示]
(0.245秒)
ライブラリ
-
rexml
/ document (1)
クラス
-
REXML
:: Parent (1)
検索結果
-
REXML
:: Parent # insert _ after(child1 , child2) -> self (91522.0) -
child2 を child1 で指定したノードの後ろに挿入します。
child2 を child1 で指定したノードの後ろに挿入します。
child1 が REXML::Child のインスタンスであるならば、その
子ノードの後ろに挿入されます。
child1 が 文字列であるならば、XPath で場所を指定します。
具体的には REXML::XPath.first(self, child1) で特定されるノードの
後ろに挿入されます。
挿入されるノード(child2)の親は self に変更されます。
@param child1 挿入場所の指定
@param child2 挿入されるノード