aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/xml_mini.rb
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-06-06 08:49:38 -0700
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-06-06 08:49:38 -0700
commitb4fb80cbdab118125df0d48e74b6818fe5ec65d5 (patch)
treeb912b5041ee4a6a1ea7fdb3a743a7205b6bbd579 /activesupport/lib/active_support/xml_mini.rb
parent96123978ff5cbfe1ce56c2a3203b02007823335b (diff)
parentef9bbb87e8228940f768580a7d05d5feadec0d1e (diff)
downloadrails-b4fb80cbdab118125df0d48e74b6818fe5ec65d5.tar.gz
rails-b4fb80cbdab118125df0d48e74b6818fe5ec65d5.tar.bz2
rails-b4fb80cbdab118125df0d48e74b6818fe5ec65d5.zip
Merge pull request #6645 from amatsuda/reduce_string_instance
Reduce number of String instance
Diffstat (limited to 'activesupport/lib/active_support/xml_mini.rb')
-rw-r--r--activesupport/lib/active_support/xml_mini.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/xml_mini.rb b/activesupport/lib/active_support/xml_mini.rb
index 88e18f6fff..88f9acb588 100644
--- a/activesupport/lib/active_support/xml_mini.rb
+++ b/activesupport/lib/active_support/xml_mini.rb
@@ -83,7 +83,7 @@ module ActiveSupport
if name.is_a?(Module)
@backend = name
else
- require "active_support/xml_mini/#{name.to_s.downcase}"
+ require "active_support/xml_mini/#{name.downcase}"
@backend = ActiveSupport.const_get("XmlMini_#{name}")
end
end