Class: XML::Node

Inherits:
Object
  • Object
show all
Defined in:
lib/voruby/misc/libxml_ext.rb

Instance Method Summary collapse

Instance Method Details

#replace_with(other) ⇒ Object



2
3
4
5
# File 'lib/voruby/misc/libxml_ext.rb', line 2

def replace_with(other)
  self.next = other
  remove!
end