diff options
author | AvnerCohen <israbirding@gmail.com> | 2012-10-20 16:54:43 +0200 |
---|---|---|
committer | AvnerCohen <israbirding@gmail.com> | 2012-10-20 16:54:43 +0200 |
commit | 71c67d1fd863bfa8fa820e4dc6e1d158586d6d4b (patch) | |
tree | 54fc7a8c5569cb6e883d6a8845f0f09126717ab6 /activesupport/lib/active_support/core_ext/array | |
parent | d4db09514cc3f18d1d157caaf0784bedf38fafe8 (diff) | |
download | rails-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.rb | 2 |
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: # |