Flowdock
method

none?

Importance_1
v2.3.2 - Show latest stable - 0 notes - Class: Enumerable
none?(&block) public

Returns true if none of the elements match the given block.

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

This is a builtin method in Ruby 1.8.7 and later.

Show source
Register or log in to add new notes.