This project is archived and is in readonly mode.
Add Enumerable#none? to check that none of the elements match the condition provided in a block
Reported by Damian Janowski | November 18th, 2008 @ 08:56 PM | in 2.x
success = responses.none? {|r| r.status / 100 == 3 }
Comments and changes to this ticket
-
Repository November 19th, 2008 @ 09:48 AM
- State changed from new to committed
(from [f451f0e5cfa358e88ac9d03d813a9c84facd6648]) Added Enumerable#none? to check that none of the elements match the block [#1408 state:committed]
Signed-off-by: David Heinemeier Hansson david@loudthinking.com http://github.com/rails/rails/co...
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>
People watching this ticket
Attachments
Referenced by
- 1408 Add Enumerable#none? to check that none of the elements match the condition provided in a block (from [f451f0e5cfa358e88ac9d03d813a9c84facd6648]) Added E...