diff options
author | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-09-12 18:40:18 -0500 |
---|---|---|
committer | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-09-12 18:40:18 -0500 |
commit | 794a70f94485fb64ed1c49ba8532895306e2001c (patch) | |
tree | 44f096bdc08c2df55ce2278a87ea120ed2bee478 /activesupport/lib/active_support/core_ext/array/wrap.rb | |
parent | f4e180578c673194f58d4ff5a4a656cc51b2249e (diff) | |
download | rails-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/array/wrap.rb')
-rw-r--r-- | activesupport/lib/active_support/core_ext/array/wrap.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/core_ext/array/wrap.rb b/activesupport/lib/active_support/core_ext/array/wrap.rb index 9ea93d7226..55582c6487 100644 --- a/activesupport/lib/active_support/core_ext/array/wrap.rb +++ b/activesupport/lib/active_support/core_ext/array/wrap.rb @@ -22,8 +22,8 @@ class Array # # The last point is particularly worth comparing for some enumerables: # - # Array(:foo => :bar) # => [[:foo, :bar]] - # Array.wrap(:foo => :bar) # => [{:foo => :bar}] + # Array(foo: :bar) # => [[:foo, :bar]] + # Array.wrap(foo: :bar) # => [{:foo => :bar}] # # There's also a related idiom that uses the splat operator: # |