summaryrefslogtreecommitdiff
path: root/config/initializers/xmlparser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/xmlparser.rb')
-rw-r--r--config/initializers/xmlparser.rb6
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 @@
1class XML::Node
2 def replace_with(other)
3 self.next = other
4 remove!
5 end
6end \ No newline at end of file