るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.120秒)
トップページ > クエリ:i[x] > クエリ:l[x] > クエリ:NIL[x] > ライブラリ:rexml/document[x] > クエリ:replace_child[x]

別のキーワード

  1. _builtin nil?
  2. nilclass nil?
  3. object nil?
  4. object nil
  5. _builtin nil

クラス

検索結果

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

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

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

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

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