clone()
Creates a shallow copy of self.
d = Document .new "<a><b/><b/><c><d/></c></a>" new_a = d.root .clone puts new_a # => "<a/>"
# File lib/rexml/element.rb, line 97 def clone self.class.new self end
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル