最速Rubyリファレンスマニュアル検索!
すべて(11)
2.1.0(1)
2.2.0(1)
2.3.0(1)
2.4.0(1)
2.5.0(1)
2.6.0(1)
2.7.0(1)
3.0(1)
3.1(1)
3.2(1)
3.3(1)
11件ヒット
[1-11件を表示]
(0.079秒)
トップページ
>
:
インスタンスメソッド
>
:
first
>
:insert_before
別のキーワード
_builtin insert
parent insert_before
parent insert_after
array insert
string insert
ライブラリ
rexml
/
document
(11)
クラス
REXML
::
Parent
(11)
検索結果
先頭1件
REXML
::
Parent
#
insert
_
before(child1
,
child2) -> self
REXML
::
Parent
#
insert
_
before(child1
,
child2) -> self
(18108.0)
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
2.7.0
3.0
3.1
3.2
3.3
インスタンスメソッド
child2 を child1 で指定したノードの前に挿入します。
...
ノードの前に挿入されます。
child1 が 文字列であるならば、XPath で場所を指定します。
具体的には REXML::XPath.
first
(self, child1) で特定されるノードの
前に挿入されます。
挿入されるノード(child2)の親は self に変更されます。
...
REXML::Parent