aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/xml_mini/rexml.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/xml_mini/rexml.rb')
-rw-r--r--activesupport/lib/active_support/xml_mini/rexml.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/xml_mini/rexml.rb b/activesupport/lib/active_support/xml_mini/rexml.rb
index 655eff168c..a8fdeca967 100644
--- a/activesupport/lib/active_support/xml_mini/rexml.rb
+++ b/activesupport/lib/active_support/xml_mini/rexml.rb
@@ -1,8 +1,10 @@
# = XmlMini ReXML implementation
module ActiveSupport
- module XmlMini
+ module XmlMini_REXML #:nodoc:
extend self
+ CONTENT_KEY = '__content__'.freeze
+
# Parse an XML Document string into a simple hash
#
# Same as XmlSimple::xml_in but doesn't shoot itself in the foot,
@@ -103,4 +105,4 @@ module ActiveSupport
element.texts.join.blank?
end
end
-end \ No newline at end of file
+end