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.

Add Enumerable#none? to check that none of the elements match the condition provided in a block

#1408

success = responses.none? {|r| r.status / 100 == 3 }

Reported by Damian Janowski · November 18th, 2008 @ 08:56 PM

State: committed
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Repository
    Repository
    • State changed from new to committed

    (from [f451f0e5cfa358e88ac9d03d813a9c84facd6648]) Added Enumerable#none? to check that none of the elements match the block [#1408 Add Enumerable#none? to check that none of the elements match the condition p... state:committed]

    Signed-off-by: David Heinemeier Hansson david@loudthinking.com http://github.com/rails/rails/co...

    November 19th, 2008 @ 09:48 AM