るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.142秒)
トップページ > クエリ:-[x] > クエリ:r[x] > クエリ:replace_child[x]

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. fileutils cp_r
  5. fileutils chmod_r

ライブラリ

クラス

検索結果

REXML::Parent#replace_child(to_replace, replacement) -> () (30501.0)

子ノード列上の to_replace を replacement に置き換えます。

...子ノード列上の to_replace を replacement に置き換えます。

to_replace の parent は nil に、
r
eplacement の parent は selfに変更されます。

@param to_replace 置き換え元のノード
@param replacement 置き換え先のノード...

REXML::Child#replace_with(child) -> self (9206.0)

親ノードの子ノード列上において、 self を child に置き換えます。

...親ノードの子ノード列上において、 self を child に置き換えます。

@param child 置き換え後のノード
@see REXML::Parent#replace_child...