oga/lib
Tero Tasanen 0b4791b277 Ability to replace a node with another node or string
```
element = Oga::XML::Element.new(:name => 'div')
some_node.replace(element)
```

You can also pass a `String` to  `replace` and it will be replaced with
a `Oga::XML::Text` node

```
some_node.replace('this will replace the current node with a text node')
```

closes #115
2015-06-17 21:27:50 +03:00
..
oga Ability to replace a node with another node or string 2015-06-17 21:27:50 +03:00
oga.rb Use require vs require_relative 2015-06-03 06:42:30 +02:00