oga/lib/oga
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
..
css Removed redundant returns 2015-06-16 00:51:51 +02:00
html Removed redundant returns 2015-06-16 00:51:51 +02:00
xml Ability to replace a node with another node or string 2015-06-17 21:27:50 +03:00
xpath Removed redundant returns 2015-06-16 00:51:51 +02:00
blacklist.rb Removed redundant returns 2015-06-16 00:51:51 +02:00
entity_decoder.rb Removed redundant returns 2015-06-16 00:51:51 +02:00
lru.rb Removed redundant returns 2015-06-16 00:51:51 +02:00
oga.rb Removed redundant returns 2015-06-16 00:51:51 +02:00
version.rb Release 1.0.3 2015-06-16 11:13:06 +02:00
whitelist.rb Removed redundant returns 2015-06-16 00:51:51 +02:00