Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [f78de6864998369002a5b1906dad151b6c787c24] by Xavier Noria

Revision f78de6864998369002a5b1906dad151b6c787c24, committed 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...

2 changed files

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