method

exclude?

rails latest stable - Class: Enumerable
exclude?(object)
public

The negative of the Enumerable#include?. Returns true if the collection does not include the object.