るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.119秒)
トップページ > クエリ:t[x] > クエリ:@[x] > 種類:インスタンスメソッド[x] > クエリ:replace[x] > クラス:REXML::Parent[x]

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. t61string new
  4. matrix t
  5. fiddle type_size_t

ライブラリ

検索結果

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

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

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

t
o_replace の parent は nil に、
replace
ment の parent は selfに変更されます。

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