This project is archived and is in readonly mode.

Changeset [f78de6864998369002a5b1906dad151b6c787c24] by Xavier Noria

August 1st, 2010 @ 02:19 AM

explains Array.wrap directly, rather by comparison with Kernel#Array which is too obscure, leaves the comparison to document the differences, and adds a comparison with the related idiom that uses the splat operator
http://github.com/rails/rails/commit/f78de6864998369002a5b1906dad15...

Committed by Xavier Noria

  • M activesupport/lib/active_support/core_ext/array/wrap.rb
  • M railties/guides/source/active_support_core_extensions.textile

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>