diff options
Diffstat (limited to 'config/initializers/xmlparser.rb')
| -rw-r--r-- | config/initializers/xmlparser.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/initializers/xmlparser.rb b/config/initializers/xmlparser.rb new file mode 100644 index 0000000..ba8660a --- /dev/null +++ b/config/initializers/xmlparser.rb | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | class XML::Node | ||
| 2 | def replace_with(other) | ||
| 3 | self.next = other | ||
| 4 | remove! | ||
| 5 | end | ||
| 6 | end \ No newline at end of file | ||
