aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/array/conversions.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-03-10 04:37:27 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-03-10 04:37:27 +0000
commitffec8c6b0099885f655190e659dab9cde66b13a7 (patch)
tree80bdf23a46029ac694d87bca383f61fe9c17dde4 /activesupport/lib/active_support/core_ext/array/conversions.rb
parent3442e0c6714d766b9ea0ca2fc644fdf7753832aa (diff)
downloadrails-ffec8c6b0099885f655190e659dab9cde66b13a7.tar.gz
rails-ffec8c6b0099885f655190e659dab9cde66b13a7.tar.bz2
rails-ffec8c6b0099885f655190e659dab9cde66b13a7.zip
tag! is nicer than __send__
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3833 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib/active_support/core_ext/array/conversions.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/array/conversions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/array/conversions.rb b/activesupport/lib/active_support/core_ext/array/conversions.rb
index 59ea7262f1..e0e5a36cfd 100644
--- a/activesupport/lib/active_support/core_ext/array/conversions.rb
+++ b/activesupport/lib/active_support/core_ext/array/conversions.rb
@@ -38,7 +38,7 @@ module ActiveSupport #:nodoc:
children = options.delete(:children)
options[:builder].instruct! unless options.delete(:skip_instruct)
- options[:builder].__send__(root) { each { |e| e.to_xml(options.merge({ :skip_instruct => true, :root => children })) } }
+ options[:builder].tag!(root) { each { |e| e.to_xml(options.merge({ :skip_instruct => true, :root => children })) } }
end
end
end