summaryrefslogtreecommitdiff
path: root/lib/feed2imap/rexml_patch.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/feed2imap/rexml_patch.rb')
-rw-r--r--lib/feed2imap/rexml_patch.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/feed2imap/rexml_patch.rb b/lib/feed2imap/rexml_patch.rb
index 3d919ae..bce0be3 100644
--- a/lib/feed2imap/rexml_patch.rb
+++ b/lib/feed2imap/rexml_patch.rb
@@ -38,4 +38,10 @@ module REXML
@encoding = enc || 'utf-8'
end
end
+
+ class Element
+ def children
+ @children
+ end
+ end
end