aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/hash/conversions.rb
diff options
context:
space:
mode:
authorFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-09-12 18:40:18 -0500
committerFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-09-12 18:40:18 -0500
commit794a70f94485fb64ed1c49ba8532895306e2001c (patch)
tree44f096bdc08c2df55ce2278a87ea120ed2bee478 /activesupport/lib/active_support/core_ext/hash/conversions.rb
parentf4e180578c673194f58d4ff5a4a656cc51b2249e (diff)
downloadrails-794a70f94485fb64ed1c49ba8532895306e2001c.tar.gz
rails-794a70f94485fb64ed1c49ba8532895306e2001c.tar.bz2
rails-794a70f94485fb64ed1c49ba8532895306e2001c.zip
update AS/core_ext docs [ci skip]
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 7c72ead36c..5ba8197006 100644
--- a/activesupport/lib/active_support/core_ext/hash/conversions.rb
+++ b/activesupport/lib/active_support/core_ext/hash/conversions.rb
@@ -40,7 +40,7 @@ class Hash
# end
# end
#
- # {:foo => Foo.new}.to_xml(:skip_instruct => true)
+ # { foo: Foo.new }.to_xml(skip_instruct: true)
# # => "<hash><bar>fooing!</bar></hash>"
#
# * Otherwise, a node with +key+ as tag is created with a string representation of