Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec/expectations/extensions/array.rb

Instance Method Summary collapse

Instance Method Details

#none?(&block) ⇒ Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/rspec/expectations/extensions/array.rb', line 3

def none?(&block)
  !any?(&block)
end