From 794a70f94485fb64ed1c49ba8532895306e2001c Mon Sep 17 00:00:00 2001 From: Francesco Rodriguez Date: Wed, 12 Sep 2012 18:40:18 -0500 Subject: update AS/core_ext docs [ci skip] --- activesupport/lib/active_support/core_ext/hash/conversions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib/active_support/core_ext/hash/conversions.rb') 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) # # => "fooing!" # # * Otherwise, a node with +key+ as tag is created with a string representation of -- cgit v1.2.3