aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/hash/conversions.rb
diff options
context:
space:
mode:
authorAlexey Vakhov <vakhov@gmail.com>2012-05-25 18:30:56 +0400
committerAlexey Vakhov <vakhov@gmail.com>2012-05-25 18:30:56 +0400
commitcb25bce26f44806fca780cd8ddd3d18c3b999dc0 (patch)
tree54e40b17834e829dc4065906247f7c5c994b4bf7 /activesupport/lib/active_support/core_ext/hash/conversions.rb
parenta1a16de49bd223086002a4dab899ed441bb9c956 (diff)
downloadrails-cb25bce26f44806fca780cd8ddd3d18c3b999dc0.tar.gz
rails-cb25bce26f44806fca780cd8ddd3d18c3b999dc0.tar.bz2
rails-cb25bce26f44806fca780cd8ddd3d18c3b999dc0.zip
Fix unbalanced braces in Hash#typecast_xml_value internal comment
Diffstat (limited to 'activesupport/lib/active_support/core_ext/hash/conversions.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/hash/conversions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/hash/conversions.rb b/activesupport/lib/active_support/core_ext/hash/conversions.rb
index 43ba05a256..7c72ead36c 100644
--- a/activesupport/lib/active_support/core_ext/hash/conversions.rb
+++ b/activesupport/lib/active_support/core_ext/hash/conversions.rb
@@ -129,7 +129,7 @@ class Hash
else
xml_value = Hash[value.map { |k,v| [k, typecast_xml_value(v)] }]
- # Turn { :files => { :file => #<StringIO> } into { :files => #<StringIO> } so it is compatible with
+ # Turn { :files => { :file => #<StringIO> } } into { :files => #<StringIO> } so it is compatible with
# how multipart uploaded files from HTML appear
xml_value['file'].is_a?(StringIO) ? xml_value['file'] : xml_value
end