aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/array
diff options
context:
space:
mode:
authorAvnerCohen <israbirding@gmail.com>2012-10-20 16:54:43 +0200
committerAvnerCohen <israbirding@gmail.com>2012-10-20 16:54:43 +0200
commit71c67d1fd863bfa8fa820e4dc6e1d158586d6d4b (patch)
tree54fc7a8c5569cb6e883d6a8845f0f09126717ab6 /activesupport/lib/active_support/core_ext/array
parentd4db09514cc3f18d1d157caaf0784bedf38fafe8 (diff)
downloadrails-71c67d1fd863bfa8fa820e4dc6e1d158586d6d4b.tar.gz
rails-71c67d1fd863bfa8fa820e4dc6e1d158586d6d4b.tar.bz2
rails-71c67d1fd863bfa8fa820e4dc6e1d158586d6d4b.zip
Hash Syntax changes to 1.9 format
Diffstat (limited to 'activesupport/lib/active_support/core_ext/array')
-rw-r--r--activesupport/lib/active_support/core_ext/array/wrap.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/array/wrap.rb b/activesupport/lib/active_support/core_ext/array/wrap.rb
index 7bf28b2f27..ffaf6ef024 100644
--- a/activesupport/lib/active_support/core_ext/array/wrap.rb
+++ b/activesupport/lib/active_support/core_ext/array/wrap.rb
@@ -23,7 +23,7 @@ class Array
# The last point is particularly worth comparing for some enumerables:
#
# Array(foo: :bar) # => [[:foo, :bar]]
- # Array.wrap(foo: :bar) # => [{:foo => :bar}]
+ # Array.wrap(foo: :bar) # => [{foo: :bar}]
#
# There's also a related idiom that uses the splat operator:
#