るりまサーチ (Ruby 2.6.0)

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

別のキーワード

  1. _builtin replace
  2. dbm replace
  3. resolv-replace new
  4. set replace
  5. gdbm replace

ライブラリ

クラス

検索結果

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

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

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

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

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