Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge pull request #574 from kostya/one
enumerable#one?,none?
- Loading branch information
Showing
with
15 additions
and 14 deletions.
@@ -1,9 +1,2 @@ | ||
fails:Enumerable#none? returns true if none of the elements in self are true | ||
fails:Enumerable#none? returns false if at least one of the elements in self are true | ||
fails:Enumerable#none? gathers whole arrays as elements when each yields multiple | ||
fails:Enumerable#none? with a block passes each element to the block in turn until it returns true | ||
fails:Enumerable#none? with a block stops passing elements to the block when it returns true | ||
fails:Enumerable#none? with a block returns true if the block never returns true | ||
fails:Enumerable#none? with a block returns false if the block ever returns true | ||
fails:Enumerable#none? with a block gathers initial args as elements when each yields multiple | ||
fails:Enumerable#none? with a block yields multiple arguments when each yields multiple |
@@ -1,9 +1,2 @@ | ||
fails:Enumerable#one? when passed a block returns true if block returns true once | ||
fails:Enumerable#one? when passed a block returns false if the block returns true more than once | ||
fails:Enumerable#one? when passed a block returns false if the block only returns false | ||
fails:Enumerable#one? when passed a block gathers initial args as elements when each yields multiple | ||
fails:Enumerable#one? when passed a block yields multiple arguments when each yields multiple | ||
fails:Enumerable#one? when not passed a block returns true if only one element evaluates to true | ||
fails:Enumerable#one? when not passed a block returns false if two elements evaluate to true | ||
fails:Enumerable#one? when not passed a block returns false if all elements evaluate to false | ||
fails:Enumerable#one? when not passed a block gathers whole arrays as elements when each yields multiple |