This project is archived and is in readonly mode.

#1408 ✓committed
Damian Janowski

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

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=""></a>

People watching this ticket


Referenced by