This project is archived and is in readonly mode.
Changeset [7b61541ea53c309847753d5553baa2eed9cc6282] by David Heinemeier Hansson
Revision 7b61541ea53c309847753d5553baa2eed9cc6282,
committed by David Heinemeier Hansson
· December 15th, 2009 @ 02:00 AM
Add Enumerable#exclude? to bring parity to Enumerable#include?
and avoid if !x.include?/else calls [DHH]
http://github.com/rails/rails/commit/7b61541ea53c309847753d5553baa2...
3 changed files
-
M
activesupport/CHANGELOG -
M
activesupport/lib/active_support/core_ext/enumerable.rb -
M
activesupport/test/core_ext/enumerable_test.rb