Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/rspec/expectations/extensions/array.rb
Instance Method Summary collapse
-
#none?(&block) ⇒ Boolean
Supports
none?
on early patch levels of Ruby 1.8.6.
Instance Method Details
#none?(&block) ⇒ Boolean
Supports none?
on early patch levels of Ruby 1.8.6
5 6 7 |
# File 'lib/rspec/expectations/extensions/array.rb', line 5 def none?(&block) !any?(&block) end |